#CB1872

Closest named color: Dark Hot Pink (#D90166). oklch(55.5% 0.215 358.1), rgb(203, 24, 114).

Aa

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

About this color

#CB1872 is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.215 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Hot Pink (#D90166), ΔE 0.033 away. White text reads best on it, at 5.36:1.

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.215)
Temperaturewarm
Nearest nameDark Hot Pink (#D90166)
Black text3.91:1
White text5.36:1

Values

HEX#CB1872
RGBrgb(203, 24, 114)
HSLhsl(330, 79%, 45%)
OKLCHoklch(55.5% 0.215 358.1)

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 #CB1872 5.36:1 AA Lc -80.1 Fine for body text
Black text on #CB1872 3.91:1 AA large text Lc 29.3 Dividers and decoration only
#CB1872 text on white 5.36:1 AA Lc 74.7 Content text, not long reading
#CB1872 text on black 3.91:1 AA large text Lc -27.0 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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #FBE3EA

    oklch(93.7% 0.028 358)

  3. Step 200

    200

    #F8CBD9

    oklch(88.5% 0.054 357.7)

  4. Step 300

    300

    #F4A7C0

    oklch(81% 0.096 358.4)

  5. Step 400

    400

    #EB73A0

    oklch(70.7% 0.155 358.1)

  6. Step 500

    500

    #E04789

    oklch(63.1% 0.197 358)

  7. Step 600

    600 (this color)

    #CB1872

    oklch(55.5% 0.215 358.1)

  8. Step 700

    700

    #AF0160

    oklch(49% 0.199 358)

  9. Step 800

    800

    #8F0D4E

    oklch(42.8% 0.166 358.4)

  10. Step 900

    900

    #731841

    oklch(37.7% 0.129 358.3)

  11. Step 950

    950

    #441126

    oklch(27.1% 0.081 358.7)

Export this scale for Tailwind in the Tailwind colors tool

#CB1872 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)#4956740.244
Deuteranopia (no green cones)#78766E0.217
Tritanopia (no blue cones)#DC00450.073
Achromatopsia (no color)#6B6B6B0.216

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB1872

    #CB1872

    oklch(55.5% 0.215 358.1)

  • #008673

    #008673

    oklch(55.5% 0.102 178.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB1872

    #CB1872

    oklch(55.5% 0.215 358.1)

  • #B030B0

    #B030B0

    oklch(55.3% 0.215 328)

  • #D41B1A

    #D41B1A

    oklch(55.6% 0.215 28.2)

Open the analogous palette in the generator

Split complementary

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

  • #CB1872

    #CB1872

    oklch(55.5% 0.215 358.1)

  • #008B36

    #008B36

    oklch(55.5% 0.161 148.1)

  • #008290

    #008290

    oklch(55.5% 0.095 208)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB1872

    #CB1872

    oklch(55.5% 0.215 358.1)

  • #6D7C00

    #6D7C00

    oklch(55.4% 0.129 117.8)

  • #007BB2

    #007BB2

    oklch(55.4% 0.123 238.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB1872

    #CB1872

    oklch(55.5% 0.215 358.1)

  • #8E6E00

    #8E6E00

    oklch(55.4% 0.113 88.4)

  • #008673

    #008673

    oklch(55.5% 0.102 178.1)

  • #3F61EE

    #3F61EE

    oklch(55.4% 0.215 268.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #CB1872 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.