#CF287A

Closest named color: Dark Hot Pink (#D90166). oklch(57.3% 0.209 356.9), rgb(207, 40, 122).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.209)
Temperaturewarm
Nearest nameDark Hot Pink (#D90166)
Black text4.23:1
White text4.95:1

Values

HEX#CF287A
RGBrgb(207, 40, 122)
HSLhsl(331, 68%, 48%)
OKLCHoklch(57.3% 0.209 356.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 #CF287A 4.95:1 AA Lc -78.1 Fine for body text
Black text on #CF287A 4.23:1 AA large text Lc 31.4 Non-text elements, placeholder text
#CF287A text on white 4.95:1 AA Lc 72.7 Content text, not long reading
#CF287A text on black 4.23:1 AA large text Lc -29.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

    #FAE3EA

    oklch(93.6% 0.027 357.2)

  3. Step 200

    200

    #F7CBDA

    oklch(88.4% 0.053 355.8)

  4. Step 300

    300

    #F3A7C1

    oklch(80.9% 0.095 357.3)

  5. Step 400

    400

    #E975A2

    oklch(70.8% 0.151 357.1)

  6. Step 500

    500

    #DE4A8B

    oklch(63.2% 0.192 357.1)

  7. Step 600

    600 (this color)

    #CF287A

    oklch(57.3% 0.209 356.9)

  8. Step 700

    700

    #AD0C62

    oklch(49% 0.194 357)

  9. Step 800

    800

    #8D1350

    oklch(42.8% 0.161 357.2)

  10. Step 900

    900

    #711A43

    oklch(37.6% 0.126 356.4)

  11. Step 950

    950

    #431227

    oklch(27.1% 0.079 357.3)

Export this scale for Tailwind in the Tailwind colors tool

#CF287A 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)#4F5C7C0.236
Deuteranopia (no green cones)#7C7B760.211
Tritanopia (no blue cones)#E0004E0.069
Achromatopsia (no color)#7070700.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF287A

    #CF287A

    oklch(57.3% 0.209 356.9)

  • #008C77

    #008C77

    oklch(57.2% 0.106 177.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF287A

    #CF287A

    oklch(57.3% 0.209 356.9)

  • #B43BB7

    #B43BB7

    oklch(57.3% 0.21 326.9)

  • #D8292A

    #D8292A

    oklch(57.2% 0.209 26.8)

Open the analogous palette in the generator

Split complementary

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

  • #CF287A

    #CF287A

    oklch(57.3% 0.209 356.9)

  • #009133

    #009133

    oklch(57.2% 0.17 147)

  • #008895

    #008895

    oklch(57.3% 0.098 206.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF287A

    #CF287A

    oklch(57.3% 0.209 356.9)

  • #748100

    #748100

    oklch(57.3% 0.132 116.6)

  • #0081B8

    #0081B8

    oklch(57.2% 0.125 237.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF287A

    #CF287A

    oklch(57.3% 0.209 356.9)

  • #967200

    #967200

    oklch(57.2% 0.117 86.5)

  • #008C77

    #008C77

    oklch(57.2% 0.106 177.1)

  • #4169F1

    #4169F1

    oklch(57.2% 0.209 267)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #CF287A.

Similar named colors

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

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