#C2228E

Closest named color: Medium Violet Red (#C71585). oklch(55.5% 0.215 345.4), rgb(194, 34, 142).

Aa

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

About this color

#C2228E is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.215 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.018 away. White text reads best on it, at 5.36:1.

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.215)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.91:1
White text5.36:1

Values

HEX#C2228E
RGBrgb(194, 34, 142)
HSLhsl(320, 70%, 45%)
OKLCHoklch(55.5% 0.215 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 #C2228E 5.36:1 AA Lc -80.5 Fine for body text
Black text on #C2228E 3.91:1 AA large text Lc 29.0 Dividers and decoration only
#C2228E text on white 5.36:1 AA Lc 75.1 Fine for body text
#C2228E text on black 3.91:1 AA large text Lc -26.6 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

    #F9E3EE

    oklch(93.7% 0.028 345.9)

  3. Step 200

    200

    #F5CCE1

    oklch(88.6% 0.053 346)

  4. Step 300

    300

    #EEA7CE

    oklch(80.8% 0.097 345.4)

  5. Step 400

    400

    #E375B6

    oklch(70.7% 0.155 345.4)

  6. Step 500

    500

    #D74BA3

    oklch(63.1% 0.197 345.5)

  7. Step 600

    600 (this color)

    #C2228E

    oklch(55.5% 0.215 345.4)

  8. Step 700

    700

    #A71079

    oklch(49% 0.2 345.3)

  9. Step 800

    800

    #881562

    oklch(42.7% 0.165 345.7)

  10. Step 900

    900

    #6E1B50

    oklch(37.7% 0.129 345.9)

  11. Step 950

    950

    #41122F

    oklch(27.1% 0.082 345.9)

Export this scale for Tailwind in the Tailwind colors tool

#C2228E 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)#3B5A910.242
Deuteranopia (no green cones)#6C748B0.209
Tritanopia (no blue cones)#D01D570.091
Achromatopsia (no color)#6B6B6B0.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #C2228E

    #C2228E

    oklch(55.5% 0.215 345.4)

  • #008862

    #008862

    oklch(55.5% 0.117 165.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C2228E

    #C2228E

    oklch(55.5% 0.215 345.4)

  • #A13AC6

    #A13AC6

    oklch(55.5% 0.216 315.6)

  • #D31247

    #D31247

    oklch(55.6% 0.215 15.6)

Open the analogous palette in the generator

Split complementary

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

  • #C2228E

    #C2228E

    oklch(55.5% 0.215 345.4)

  • #438700

    #438700

    oklch(55.6% 0.164 135.4)

  • #008484

    #008484

    oklch(55.5% 0.095 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C2228E

    #C2228E

    oklch(55.5% 0.215 345.4)

  • #7D7600

    #7D7600

    oklch(55.4% 0.118 105.5)

  • #007FA1

    #007FA1

    oklch(55.5% 0.105 225)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C2228E

    #C2228E

    oklch(55.5% 0.215 345.4)

  • #9A6700

    #9A6700

    oklch(55.4% 0.117 75)

  • #008862

    #008862

    oklch(55.5% 0.117 165.2)

  • #0070DC

    #0070DC

    oklch(55.6% 0.186 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 #C2228E, closest first.

Similar named colors

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

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