#CB408E

Closest named color: Medium Violet Red (#C71585). oklch(59.3% 0.19 349.9), rgb(203, 64, 142).

Aa

Black text reads best on this color (4.66:1).

About this color

#CB408E is a medium-dark, vivid red. In OKLCH its lightness is 59%, its chroma 0.190 and its hue 350°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.051 away. Black text reads best on it, at 4.66:1.

Hue familyReds
Lightnessmedium-dark (59%)
Chromavivid (0.190)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.66:1
White text4.50:1

Values

HEX#CB408E
RGBrgb(203, 64, 142)
HSLhsl(326, 57%, 52%)
OKLCHoklch(59.3% 0.19 349.9)

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 #CB408E 4.50:1 AA Lc -75.7 Fine for body text
Black text on #CB408E 4.66:1 AA Lc 33.8 Non-text elements, placeholder text
#CB408E text on white 4.50:1 AA Lc 70.2 Content text, not long reading
#CB408E text on black 4.66:1 AA Lc -31.4 Non-text elements, placeholder text

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

    #FCF2F6

    oklch(97% 0.012 351)

  2. Step 100

    100

    #F8E3EC

    oklch(93.5% 0.026 349.8)

  3. Step 200

    200

    #F3CDDE

    oklch(88.5% 0.048 349.4)

  4. Step 300

    300

    #ECAAC8

    oklch(80.9% 0.086 350.3)

  5. Step 400

    400

    #DF7BAD

    oklch(70.8% 0.136 349.8)

  6. Step 500

    500

    #D35498

    oklch(63.1% 0.175 350)

  7. Step 600

    600 (this color)

    #CB408E

    oklch(59.3% 0.19 349.9)

  8. Step 700

    700

    #A4246F

    oklch(49.2% 0.177 349.9)

  9. Step 800

    800

    #85205A

    oklch(42.7% 0.147 350)

  10. Step 900

    900

    #6B214A

    oklch(37.6% 0.115 349.8)

  11. Step 950

    950

    #3F152B

    oklch(27% 0.072 350.4)

Export this scale for Tailwind in the Tailwind colors tool

#CB408E 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)#5467900.211
Deuteranopia (no green cones)#7C808B0.188
Tritanopia (no blue cones)#DA39610.072
Achromatopsia (no color)#7777770.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB408E

    #CB408E

    oklch(59.3% 0.19 349.9)

  • #009473

    #009473

    oklch(59.3% 0.118 169.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB408E

    #CB408E

    oklch(59.3% 0.19 349.9)

  • #AE4FC3

    #AE4FC3

    oklch(59.4% 0.19 320)

  • #D83D4D

    #D83D4D

    oklch(59.3% 0.191 19.7)

Open the analogous palette in the generator

Split complementary

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

  • #CB408E

    #CB408E

    oklch(59.3% 0.19 349.9)

  • #2E9701

    #2E9701

    oklch(59.3% 0.19 139.9)

  • #009096

    #009096

    oklch(59.4% 0.101 200)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB408E

    #CB408E

    oklch(59.3% 0.19 349.9)

  • #848400

    #848400

    oklch(59.4% 0.129 109.8)

  • #008AB6

    #008AB6

    oklch(59.3% 0.118 229.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB408E

    #CB408E

    oklch(59.3% 0.19 349.9)

  • #A47400

    #A47400

    oklch(59.2% 0.123 79.7)

  • #009473

    #009473

    oklch(59.3% 0.118 169.8)

  • #3178ED

    #3178ED

    oklch(59.3% 0.191 260)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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