HSL to HEX: #CD5C5C

Also known as: CSS indianred

Result

hsl(0.00 53.05% 58.24%) → #CD5C5C

Values are shown at full precision, so converting back gives exactly #cd5c5c. 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. input

    H = 0.00°, S = 53.05%, L = 58.24%
  2. 2. C

    C = (1 − |2L − 1|) × S = 0.44307
  3. 3. X

    X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.00000   (H / 60° = 0.0000, sector 0)
  4. 4. m

    m = L − C / 2 = 0.36086
  5. 5. (R′, G′, B′) + m

    (R′, G′, B′) = (0.44307, 0.00000, 0.00000)
    R = round((0.44307 + 0.36086) × 255) = 205
    G = round((0.00000 + 0.36086) × 255) = 92
    B = round((0.00000 + 0.36086) × 255) = 92
  6. 6. RGB → HEX

    #CD5C5C

All formats

HEX
#cd5c5c
RGB
rgb(205 92 92)
RGB (legacy)
rgb(205, 92, 92)
HSL
hsl(0.00 53.05% 58.24%) → hsl(0 53% 58%)
HWB
hwb(0 36% 20%)
OKLCH
oklch(0.615 0.144 22.2) · oklch(61.5% 0.144 22.2)
OKLab
oklab(0.615 0.133 0.055)
Lab (D50)
lab(53.93 45.75 23.16)
LCH (D50)
lch(53.93 51.28 26.84)
Display P3
color(display-p3 0.7491 0.3867 0.3744)
Linear sRGB
color(srgb-linear 0.6105 0.1070 0.1070)

Gamut: sRGB and Display P3

#CD5C5C is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.248 and Display P3 reaches 0.280; this color uses 58% of the sRGB chroma available.

CSS snippets

.element {
  color: #cd5c5c;
  color: rgb(205 92 92);
  color: hsl(0 53% 58%);
  color: oklch(0.615 0.144 22.2);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.615 0.144 22.2);
}
/* arbitrary values */
class="text-[#cd5c5c] bg-[oklch(0.615_0.144_22.2)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.7491 0.3867 0.3744); }
}

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

  • #E26F6D · oklch(0.675 0.144 22.2) · ΔL +0.06
  • #B8494B · oklch(0.555 0.144 22.2) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?