#C22D8E

Closest named color: Medium Violet Red (#C71585). oklch(56.2% 0.205 346), rgb(194, 45, 142).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.205)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.05:1
White text5.17:1

Values

HEX#C22D8E
RGBrgb(194, 45, 142)
HSLhsl(321, 62%, 47%)
OKLCHoklch(56.2% 0.205 346)

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 #C22D8E 5.17:1 AA Lc -79.7 Fine for body text
Black text on #C22D8E 4.05:1 AA large text Lc 29.8 Dividers and decoration only
#C22D8E text on white 5.17:1 AA Lc 74.3 Content text, not long reading
#C22D8E text on black 4.05:1 AA large text Lc -27.5 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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F8E3EE

    oklch(93.6% 0.027 344.6)

  3. Step 200

    200

    #F3CCE0

    oklch(88.4% 0.051 345.9)

  4. Step 300

    300

    #EDA9CD

    oklch(81% 0.092 346.3)

  5. Step 400

    400

    #E177B4

    oklch(70.7% 0.149 346)

  6. Step 500

    500

    #D54FA1

    oklch(63.1% 0.189 346.1)

  7. Step 600

    600 (this color)

    #C22D8E

    oklch(56.2% 0.205 346)

  8. Step 700

    700

    #A51A77

    oklch(49.1% 0.191 345.9)

  9. Step 800

    800

    #861A61

    oklch(42.7% 0.158 345.8)

  10. Step 900

    900

    #6C1E4F

    oklch(37.7% 0.123 346)

  11. Step 950

    950

    #40132E

    oklch(27% 0.078 346.6)

Export this scale for Tailwind in the Tailwind colors tool

#C22D8E 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)#425D910.229
Deuteranopia (no green cones)#6F768B0.199
Tritanopia (no blue cones)#CF295A0.085
Achromatopsia (no color)#6D6D6D0.207

Harmonies

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

Complementary

The opposite hue (180°).

  • #C22D8E

    #C22D8E

    oklch(56.2% 0.205 346)

  • #008A65

    #008A65

    oklch(56.2% 0.116 166)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C22D8E

    #C22D8E

    oklch(56.2% 0.205 346)

  • #A241C4

    #A241C4

    oklch(56.2% 0.206 316)

  • #D2244A

    #D2244A

    oklch(56.3% 0.205 16)

Open the analogous palette in the generator

Split complementary

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

  • #C22D8E

    #C22D8E

    oklch(56.2% 0.205 346)

  • #428900

    #428900

    oklch(56.1% 0.166 135.8)

  • #008687

    #008687

    oklch(56.2% 0.096 195.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C22D8E

    #C22D8E

    oklch(56.2% 0.205 346)

  • #7F7900

    #7F7900

    oklch(56.3% 0.12 106.2)

  • #0081A5

    #0081A5

    oklch(56.2% 0.108 226.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C22D8E

    #C22D8E

    oklch(56.2% 0.205 346)

  • #9C6A00

    #9C6A00

    oklch(56.3% 0.118 76.3)

  • #008A65

    #008A65

    oklch(56.2% 0.116 166)

  • #0071E2

    #0071E2

    oklch(56.2% 0.192 256)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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