#CF5798

Closest named color: Pale Magenta (#D767AD). oklch(62.9% 0.167 349.3), rgb(207, 87, 152).

Aa

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

About this color

#CF5798 is a medium-light, vivid red. In OKLCH its lightness is 63%, its chroma 0.167 and its hue 349°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.043 away. Black text reads best on it, at 5.46:1.

Hue familyReds
Lightnessmedium-light (63%)
Chromavivid (0.167)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text5.46:1
White text3.83:1

Values

HEX#CF5798
RGBrgb(207, 87, 152)
HSLhsl(328, 56%, 58%)
OKLCHoklch(62.9% 0.167 349.3)

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 #CF5798 3.83:1 AA large text Lc -70.7 Content text, not long reading
Black text on #CF5798 5.46:1 AA Lc 38.8 Non-text elements, placeholder text
#CF5798 text on white 3.83:1 AA large text Lc 65.2 Content text, not long reading
#CF5798 text on black 5.46:1 AA Lc -36.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 500.

  1. Step 50

    50

    #FCF3F6

    oklch(97.2% 0.01 354.9)

  2. Step 100

    100

    #F7E4EC

    oklch(93.6% 0.023 350.1)

  3. Step 200

    200

    #F2CEDE

    oklch(88.6% 0.045 349.5)

  4. Step 300

    300

    #EAABC9

    oklch(80.9% 0.083 349)

  5. Step 400

    400

    #DC7DAD

    oklch(70.7% 0.13 349.3)

  6. Step 500

    500 (this color)

    #CF5798

    oklch(62.9% 0.167 349.3)

  7. Step 600

    600

    #BB3883

    oklch(55.6% 0.182 349.4)

  8. Step 700

    700

    #A1296F

    oklch(49.1% 0.169 349.4)

  9. Step 800

    800

    #83245A

    oklch(42.7% 0.14 349.7)

  10. Step 900

    900

    #69244A

    oklch(37.7% 0.108 349.4)

  11. Step 950

    950

    #3E162B

    oklch(27% 0.069 350)

Export this scale for Tailwind in the Tailwind colors tool

#CF5798 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)#65759A0.183
Deuteranopia (no green cones)#868A950.165
Tritanopia (no blue cones)#DD53710.062
Achromatopsia (no color)#8282820.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF5798

    #CF5798

    oklch(62.9% 0.167 349.3)

  • #00A07C

    #00A07C

    oklch(62.8% 0.125 169.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF5798

    #CF5798

    oklch(62.9% 0.167 349.3)

  • #B362C7

    #B362C7

    oklch(62.8% 0.167 319.4)

  • #DB565F

    #DB565F

    oklch(62.9% 0.167 19.3)

Open the analogous palette in the generator

Split complementary

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

  • #CF5798

    #CF5798

    oklch(62.9% 0.167 349.3)

  • #4BA032

    #4BA032

    oklch(63% 0.168 139.4)

  • #009CA1

    #009CA1

    oklch(62.9% 0.107 198.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF5798

    #CF5798

    oklch(62.9% 0.167 349.3)

  • #8F8F00

    #8F8F00

    oklch(62.9% 0.137 109.8)

  • #0096C5

    #0096C5

    oklch(63% 0.125 229.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF5798

    #CF5798

    oklch(62.9% 0.167 349.3)

  • #B27E00

    #B27E00

    oklch(62.9% 0.13 79.6)

  • #00A07C

    #00A07C

    oklch(62.8% 0.125 169.5)

  • #4686EC

    #4686EC

    oklch(62.9% 0.167 259.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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