#C0229F

Closest named color: Medium Violet Red (#C71585). oklch(56% 0.224 338.7), rgb(192, 34, 159).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (56%)
Chromavivid (0.224)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.97:1
White text5.28:1

Values

HEX#C0229F
RGBrgb(192, 34, 159)
HSLhsl(313, 70%, 44%)
OKLCHoklch(56% 0.224 338.7)

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 #C0229F 5.28:1 AA Lc -80.1 Fine for body text
Black text on #C0229F 3.97:1 AA large text Lc 29.4 Dividers and decoration only
#C0229F text on white 5.28:1 AA Lc 74.7 Content text, not long reading
#C0229F text on black 3.97:1 AA large text Lc -27.1 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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F8E3F0

    oklch(93.6% 0.028 340)

  3. Step 200

    200

    #F3CBE6

    oklch(88.4% 0.057 338.1)

  4. Step 300

    300

    #ECA7D7

    oklch(80.8% 0.102 338.3)

  5. Step 400

    400

    #E075C2

    oklch(70.8% 0.161 338.9)

  6. Step 500

    500

    #D44AB2

    oklch(63.2% 0.206 338.9)

  7. Step 600

    600 (this color)

    #C0229F

    oklch(56% 0.224 338.7)

  8. Step 700

    700

    #A40C87

    oklch(49.1% 0.208 338.6)

  9. Step 800

    800

    #85136E

    oklch(42.7% 0.172 338.4)

  10. Step 900

    900

    #6B1A59

    oklch(37.6% 0.135 338.3)

  11. Step 950

    950

    #3F1234

    oklch(27% 0.084 338.5)

Export this scale for Tailwind in the Tailwind colors tool

#C0229F 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)#2D5CA20.250
Deuteranopia (no green cones)#64749C0.212
Tritanopia (no blue cones)#CB2C610.106
Achromatopsia (no color)#6C6C6C0.226

Harmonies

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

Complementary

The opposite hue (180°).

  • #C0229F

    #C0229F

    oklch(56% 0.224 338.7)

  • #008A57

    #008A57

    oklch(55.8% 0.129 158.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C0229F

    #C0229F

    oklch(56% 0.224 338.7)

  • #9A3DD5

    #9A3DD5

    oklch(55.9% 0.224 308.8)

  • #D50059

    #D50059

    oklch(55.9% 0.224 8.7)

Open the analogous palette in the generator

Split complementary

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

  • #C0229F

    #C0229F

    oklch(56% 0.224 338.7)

  • #598400

    #598400

    oklch(56% 0.148 128.8)

  • #008680

    #008680

    oklch(55.9% 0.097 189.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C0229F

    #C0229F

    oklch(56% 0.224 338.7)

  • #867400

    #867400

    oklch(55.9% 0.116 98.4)

  • #00829C

    #00829C

    oklch(56% 0.101 218.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C0229F

    #C0229F

    oklch(56% 0.224 338.7)

  • #A26500

    #A26500

    oklch(56.1% 0.122 69)

  • #008A57

    #008A57

    oklch(55.8% 0.129 158.8)

  • #0078C9

    #0078C9

    oklch(56% 0.153 248.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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