#CF2899

Closest named color: Medium Violet Red (#C71585). oklch(58.5% 0.224 345.1), rgb(207, 40, 153).

Aa

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

About this color

#CF2899 is a medium-dark, vivid red. In OKLCH its lightness is 58%, its chroma 0.224 and its hue 345°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.036 away. White text reads best on it, at 4.75:1.

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.224)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.41:1
White text4.75:1

Values

HEX#CF2899
RGBrgb(207, 40, 153)
HSLhsl(319, 68%, 48%)
OKLCHoklch(58.5% 0.224 345.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 #CF2899 4.75:1 AA Lc -76.9 Fine for body text
Black text on #CF2899 4.41:1 AA large text Lc 32.7 Non-text elements, placeholder text
#CF2899 text on white 4.75:1 AA Lc 71.4 Content text, not long reading
#CF2899 text on black 4.41:1 AA large text Lc -30.3 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

    #FDF2F7

    oklch(97.1% 0.013 347.9)

  2. Step 100

    100

    #F9E3EE

    oklch(93.7% 0.028 345.9)

  3. Step 200

    200

    #F5CBE2

    oklch(88.5% 0.056 344.2)

  4. Step 300

    300

    #F0A6CF

    oklch(80.8% 0.101 345.3)

  5. Step 400

    400

    #E573B7

    oklch(70.7% 0.161 345.2)

  6. Step 500

    500

    #DA46A5

    oklch(63.1% 0.207 345.2)

  7. Step 600

    600 (this color)

    #CF2899

    oklch(58.5% 0.224 345.1)

  8. Step 700

    700

    #AA017B

    oklch(49.2% 0.209 345.1)

  9. Step 800

    800

    #8A0D64

    oklch(42.7% 0.173 345.1)

  10. Step 900

    900

    #6F1851

    oklch(37.7% 0.134 345.4)

  11. Step 950

    950

    #411130

    oklch(27% 0.084 344.5)

Export this scale for Tailwind in the Tailwind colors tool

#CF2899 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)#41619C0.251
Deuteranopia (no green cones)#747D950.218
Tritanopia (no blue cones)#DD245F0.094
Achromatopsia (no color)#7373730.226

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF2899

    #CF2899

    oklch(58.5% 0.224 345.1)

  • #009269

    #009269

    oklch(58.5% 0.123 164.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF2899

    #CF2899

    oklch(58.5% 0.224 345.1)

  • #AB41D4

    #AB41D4

    oklch(58.4% 0.224 314.9)

  • #E1194F

    #E1194F

    oklch(58.5% 0.224 15)

Open the analogous palette in the generator

Split complementary

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

  • #CF2899

    #CF2899

    oklch(58.5% 0.224 345.1)

  • #499000

    #499000

    oklch(58.4% 0.171 135.2)

  • #008E8E

    #008E8E

    oklch(58.6% 0.1 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF2899

    #CF2899

    oklch(58.5% 0.224 345.1)

  • #877F00

    #877F00

    oklch(58.5% 0.124 105.2)

  • #0089AD

    #0089AD

    oklch(58.6% 0.111 224.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF2899

    #CF2899

    oklch(58.5% 0.224 345.1)

  • #A66F00

    #A66F00

    oklch(58.5% 0.124 74.7)

  • #009269

    #009269

    oklch(58.5% 0.123 164.9)

  • #0079EA

    #0079EA

    oklch(58.5% 0.193 255)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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