RGB to HEX: #CFFAFE

Also known as: Tailwind v3 cyan-100

Result

rgb(207 250 254) → #CFFAFE

Values are shown at full precision, so converting back gives exactly #cffafe. The rounded form is what you normally paste into CSS.

Step-by-step math

Every number below is computed from the input, nothing is looked up.

  1. 1. base 10 → base 16

    R = 207 = 12×16 + 15 → CF
    G = 250 = 15×16 + 10 → FA
    B = 254 = 15×16 + 14 → FE
  2. 2. pairs → HEX

    CF FA FE → #CFFAFE

All formats

HEX
#cffafe
RGB
rgb(207 250 254)
RGB (legacy)
rgb(207, 250, 254)
HSL
hsl(185.11 95.92% 90.39%) → hsl(185 96% 90%)
HWB
hwb(185 81% 0%)
OKLCH
oklch(0.956 0.044 203.4) · oklch(95.6% 0.044 203.4)
OKLab
oklab(0.956 -0.041 -0.018)
Lab (D50)
lab(95.34 -13.62 -6.75)
LCH (D50)
lch(95.34 15.20 206.34)
Display P3
color(display-p3 0.8450 0.9754 0.9922)
Linear sRGB
color(srgb-linear 0.6240 0.9560 0.9911)

Gamut: sRGB and Display P3

#CFFAFE is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.048 and Display P3 reaches 0.051; this color uses 93% of the sRGB chroma available.

CSS snippets

.element {
  color: #cffafe;
  color: rgb(207 250 254);
  color: hsl(185 96% 90%);
  color: oklch(0.956 0.044 203.4);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.956 0.044 203.4);
}
/* arbitrary values */
class="text-[#cffafe] bg-[oklch(0.956_0.044_203.4)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.8450 0.9754 0.9922); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #cffafe calc(l - 0.1) c h); }

Nearby colors

Closest colors in the Tailwind and CSS named palettes (OKLab distance).

Lighter and darker, same hue and chroma

  • #DDFFFF · oklch(1.000 0.044 203.4) · ΔL +0.06
  • #BCE6EA · oklch(0.896 0.044 203.4) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?