#CF2798

Closest named color: Medium Violet Red (#C71585). oklch(58.4% 0.224 345.4), rgb(207, 39, 152).

Aa

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

About this color

#CF2798 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.035 away. White text reads best on it, at 4.77:1.

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

Values

HEX#CF2798
RGBrgb(207, 39, 152)
HSLhsl(320, 68%, 48%)
OKLCHoklch(58.4% 0.224 345.4)

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 #CF2798 4.77:1 AA Lc -77.0 Fine for body text
Black text on #CF2798 4.39:1 AA large text Lc 32.6 Non-text elements, placeholder text
#CF2798 text on white 4.77:1 AA Lc 71.5 Content text, not long reading
#CF2798 text on black 4.39:1 AA large text Lc -30.2 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

    #F9E2EE

    oklch(93.5% 0.03 344.8)

  3. Step 200

    200

    #F6CBE1

    oklch(88.5% 0.056 346.1)

  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

    #DA46A4

    oklch(63.1% 0.206 345.6)

  7. Step 600

    600 (this color)

    #CF2798

    oklch(58.4% 0.224 345.4)

  8. Step 700

    700

    #AA007A

    oklch(49.1% 0.209 345.5)

  9. Step 800

    800

    #8A0D63

    oklch(42.7% 0.172 345.6)

  10. Step 900

    900

    #6F1851

    oklch(37.7% 0.134 345.4)

  11. Step 950

    950

    #41102F

    oklch(26.8% 0.085 345.4)

Export this scale for Tailwind in the Tailwind colors tool

#CF2798 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)#40619B0.253
Deuteranopia (no green cones)#747C940.217
Tritanopia (no blue cones)#DD225E0.094
Achromatopsia (no color)#7272720.226

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF2798

    #CF2798

    oklch(58.4% 0.224 345.4)

  • #00926A

    #00926A

    oklch(58.5% 0.122 165.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF2798

    #CF2798

    oklch(58.4% 0.224 345.4)

  • #AC40D3

    #AC40D3

    oklch(58.4% 0.224 315.6)

  • #E1184D

    #E1184D

    oklch(58.5% 0.224 15.6)

Open the analogous palette in the generator

Split complementary

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

  • #CF2798

    #CF2798

    oklch(58.4% 0.224 345.4)

  • #489000

    #489000

    oklch(58.3% 0.171 135.4)

  • #008D8E

    #008D8E

    oklch(58.3% 0.099 195.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF2798

    #CF2798

    oklch(58.4% 0.224 345.4)

  • #867F00

    #867F00

    oklch(58.4% 0.124 105.8)

  • #0088AD

    #0088AD

    oklch(58.3% 0.111 225.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF2798

    #CF2798

    oklch(58.4% 0.224 345.4)

  • #A56F00

    #A56F00

    oklch(58.4% 0.123 75.3)

  • #00926A

    #00926A

    oklch(58.5% 0.122 165.5)

  • #0078EB

    #0078EB

    oklch(58.4% 0.195 255.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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