#CB0152

Closest named color: Ruby (#CA0147). oklch(53.9% 0.215 9.6), rgb(203, 1, 82).

Aa

White text reads best on this color (5.72:1).

About this color

#CB0152 is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.215 and its hue 10°. Its hue sits on the warm side of the wheel. The nearest named color is Ruby (#CA0147), ΔE 0.015 away. White text reads best on it, at 5.72:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.215)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.66:1
White text5.72:1

Values

HEX#CB0152
RGBrgb(203, 1, 82)
HSLhsl(336, 99%, 40%)
OKLCHoklch(53.9% 0.215 9.6)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #CB0152 5.72:1 AA Lc -81.4 Fine for body text
Black text on #CB0152 3.66:1 AA large text Lc 28.1 Dividers and decoration only
#CB0152 text on white 5.72:1 AA Lc 76.0 Fine for body text
#CB0152 text on black 3.66:1 AA large text Lc -25.7 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.

  1. Step 50

    50

    #FEF2F3

    oklch(97.1% 0.013 11.5)

  2. Step 100

    100

    #FCE3E6

    oklch(93.7% 0.028 9.4)

  3. Step 200

    200

    #FACBD1

    oklch(88.4% 0.054 9.6)

  4. Step 300

    300

    #F8A7B3

    oklch(81% 0.097 9.7)

  5. Step 400

    400

    #EF738B

    oklch(70.7% 0.154 9.7)

  6. Step 500

    500

    #E6456F

    oklch(63.1% 0.198 9.5)

  7. Step 600

    600 (this color)

    #CB0152

    oklch(53.9% 0.215 9.6)

  8. Step 700

    700

    #B30047

    oklch(49% 0.196 9.8)

  9. Step 800

    800

    #93093A

    oklch(42.8% 0.166 10)

  10. Step 900

    900

    #761732

    oklch(37.7% 0.129 9.8)

  11. Step 950

    950

    #46101D

    oklch(27.1% 0.082 10.3)

Export this scale for Tailwind in the Tailwind colors tool

#CB0152 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#4D4E530.244
Deuteranopia (no green cones)#7C734D0.220
Tritanopia (no blue cones)#DF002F0.062
Achromatopsia (no color)#6666660.217

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #CB0152

    #CB0152

    oklch(53.9% 0.215 9.6)

  • #007F7A

    #007F7A

    oklch(53.8% 0.093 189.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB0152

    #CB0152

    oklch(53.9% 0.215 9.6)

  • #B71F95

    #B71F95

    oklch(53.8% 0.215 339.6)

  • #BB3F00

    #BB3F00

    oklch(53.9% 0.17 39.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #CB0152

    #CB0152

    oklch(53.9% 0.215 9.6)

  • #008354

    #008354

    oklch(53.8% 0.123 159.5)

  • #007B95

    #007B95

    oklch(53.9% 0.098 219.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB0152

    #CB0152

    oklch(53.9% 0.215 9.6)

  • #527D00

    #527D00

    oklch(53.7% 0.144 129.5)

  • #0071C1

    #0071C1

    oklch(53.9% 0.151 249.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB0152

    #CB0152

    oklch(53.9% 0.215 9.6)

  • #7E6F00

    #7E6F00

    oklch(53.9% 0.112 99.9)

  • #007F7A

    #007F7A

    oklch(53.8% 0.093 189.9)

  • #5D52E6

    #5D52E6

    oklch(53.9% 0.215 279.7)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #CB0152, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #CB0152 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.