RGB to HEX: #48D1CC

Also known as: CSS mediumturquoise

Result

rgb(72 209 204) → #48D1CC

Values are shown at full precision, so converting back gives exactly #48d1cc. 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 = 72 = 4×16 + 8 → 48
    G = 209 = 13×16 + 1 → D1
    B = 204 = 12×16 + 12 → CC
  2. 2. pairs → HEX

    48 D1 CC → #48D1CC

All formats

HEX
#48d1cc
RGB
rgb(72 209 204)
RGB (legacy)
rgb(72, 209, 204)
HSL
hsl(177.81 59.83% 55.10%) → hsl(178 60% 55%)
HWB
hwb(178 28% 18%)
OKLCH
oklch(0.787 0.116 191.6) · oklch(78.7% 0.116 191.6)
OKLab
oklab(0.787 -0.114 -0.023)
Lab (D50)
lab(76.56 -38.88 -8.97)
LCH (D50)
lch(76.56 39.90 192.99)
Display P3
color(display-p3 0.4448 0.8086 0.7960)
Linear sRGB
color(srgb-linear 0.0648 0.6376 0.6038)

Gamut: sRGB and Display P3

#48D1CC is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.135 and Display P3 reaches 0.182; this color uses 86% of the sRGB chroma available.

CSS snippets

.element {
  color: #48d1cc;
  color: rgb(72 209 204);
  color: hsl(178 60% 55%);
  color: oklch(0.787 0.116 191.6);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.787 0.116 191.6);
}
/* arbitrary values */
class="text-[#48d1cc] bg-[oklch(0.787_0.116_191.6)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.4448 0.8086 0.7960); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #48d1cc 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

  • #60E5E0 · oklch(0.847 0.116 191.6) · ΔL +0.06
  • #2CBDB9 · oklch(0.727 0.116 191.6) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?