#CF2198

Closest named color: Medium Violet Red (#C71585). oklch(58% 0.229 345.2), rgb(207, 33, 152).

Aa

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

About this color

#CF2198 is a medium-dark, vivid red. In OKLCH its lightness is 58%, its chroma 0.229 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.033 away. White text reads best on it, at 4.85:1.

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.229)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.32:1
White text4.85:1

Values

HEX#CF2198
RGBrgb(207, 33, 152)
HSLhsl(319, 73%, 47%)
OKLCHoklch(58% 0.229 345.2)

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 #CF2198 4.85:1 AA Lc -77.4 Fine for body text
Black text on #CF2198 4.32:1 AA large text Lc 32.2 Non-text elements, placeholder text
#CF2198 text on white 4.85:1 AA Lc 71.9 Content text, not long reading
#CF2198 text on black 4.32:1 AA large text Lc -29.8 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

    #FDF2F7

    oklch(97.1% 0.013 347.9)

  2. Step 100

    100

    #FAE2EE

    oklch(93.6% 0.031 346)

  3. Step 200

    200

    #F6CBE2

    oklch(88.6% 0.057 344.9)

  4. Step 300

    300

    #F1A6D0

    oklch(81% 0.103 345)

  5. Step 400

    400

    #E671B7

    oklch(70.6% 0.165 345.3)

  6. Step 500

    500

    #DB44A5

    oklch(63.1% 0.21 345.3)

  7. Step 600

    600 (this color)

    #CF2198

    oklch(58% 0.229 345.2)

  8. Step 700

    700

    #AA007A

    oklch(49.1% 0.209 345.5)

  9. Step 800

    800

    #8B0864

    oklch(42.7% 0.176 345.3)

  10. Step 900

    900

    #701652

    oklch(37.7% 0.138 345)

  11. Step 950

    950

    #421030

    oklch(27.1% 0.087 345.1)

Export this scale for Tailwind in the Tailwind colors tool

#CF2198 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)#3D5F9B0.258
Deuteranopia (no green cones)#737C940.223
Tritanopia (no blue cones)#DD1C5D0.096
Achromatopsia (no color)#7171710.231

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF2198

    #CF2198

    oklch(58% 0.229 345.2)

  • #009068

    #009068

    oklch(57.9% 0.121 165.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF2198

    #CF2198

    oklch(58% 0.229 345.2)

  • #AB3DD4

    #AB3DD4

    oklch(58% 0.228 315.1)

  • #E10A4C

    #E10A4C

    oklch(58% 0.229 15.2)

Open the analogous palette in the generator

Split complementary

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

  • #CF2198

    #CF2198

    oklch(58% 0.229 345.2)

  • #488F00

    #488F00

    oklch(58% 0.17 135.3)

  • #008C8D

    #008C8D

    oklch(58% 0.099 195.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF2198

    #CF2198

    oklch(58% 0.229 345.2)

  • #867E00

    #867E00

    oklch(58.2% 0.124 105.2)

  • #0087AB

    #0087AB

    oklch(58% 0.11 225.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF2198

    #CF2198

    oklch(58% 0.229 345.2)

  • #A46E00

    #A46E00

    oklch(58% 0.122 75)

  • #009068

    #009068

    oklch(57.9% 0.121 165.2)

  • #0077E8

    #0077E8

    oklch(57.9% 0.193 255.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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