#CF5797

Closest named color: Pale Magenta (#D767AD). oklch(62.8% 0.167 349.8), rgb(207, 87, 151).

Aa

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

About this color

#CF5797 is a medium-light, vivid red. In OKLCH its lightness is 63%, its chroma 0.167 and its hue 350°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.044 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.84:1

Values

HEX#CF5797
RGBrgb(207, 87, 151)
HSLhsl(328, 56%, 58%)
OKLCHoklch(62.8% 0.167 349.8)

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 #CF5797 3.84:1 AA large text Lc -70.8 Content text, not long reading
Black text on #CF5797 5.46:1 AA Lc 38.8 Non-text elements, placeholder text
#CF5797 text on white 3.84:1 AA large text Lc 65.3 Content text, not long reading
#CF5797 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

    #F2CEDD

    oklch(88.6% 0.045 351)

  4. Step 300

    300

    #EAABC8

    oklch(80.8% 0.082 349.9)

  5. Step 400

    400

    #DC7DAC

    oklch(70.7% 0.13 349.9)

  6. Step 500

    500 (this color)

    #CF5797

    oklch(62.8% 0.167 349.8)

  7. Step 600

    600

    #BB3982

    oklch(55.6% 0.18 350)

  8. Step 700

    700

    #A1296E

    oklch(49.1% 0.169 349.9)

  9. Step 800

    800

    #83255A

    oklch(42.8% 0.139 349.9)

  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

#CF5797 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)#6675990.181
Deuteranopia (no green cones)#878A940.164
Tritanopia (no blue cones)#DD53700.062
Achromatopsia (no color)#8282820.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF5797

    #CF5797

    oklch(62.8% 0.167 349.8)

  • #00A07D

    #00A07D

    oklch(62.8% 0.124 170.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF5797

    #CF5797

    oklch(62.8% 0.167 349.8)

  • #B362C6

    #B362C6

    oklch(62.7% 0.166 319.8)

  • #DB565E

    #DB565E

    oklch(62.9% 0.167 19.7)

Open the analogous palette in the generator

Split complementary

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

  • #CF5797

    #CF5797

    oklch(62.8% 0.167 349.8)

  • #4AA034

    #4AA034

    oklch(63% 0.167 139.8)

  • #009CA2

    #009CA2

    oklch(62.9% 0.107 199.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF5797

    #CF5797

    oklch(62.8% 0.167 349.8)

  • #8F8F00

    #8F8F00

    oklch(62.9% 0.137 109.8)

  • #0095C5

    #0095C5

    oklch(62.7% 0.125 230.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF5797

    #CF5797

    oklch(62.8% 0.167 349.8)

  • #B27E00

    #B27E00

    oklch(62.9% 0.13 79.6)

  • #00A07D

    #00A07D

    oklch(62.8% 0.124 170.1)

  • #4886EC

    #4886EC

    oklch(63% 0.167 259.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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