#C227AA

Closest named color: Purpley Pink (#C83CB9). oklch(57.1% 0.228 335.6), rgb(194, 39, 170).

Aa

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

About this color

#C227AA is a medium-dark, vivid pink. In OKLCH its lightness is 57%, its chroma 0.228 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.036 away. White text reads best on it, at 5.04:1.

Hue familyPinks
Lightnessmedium-dark (57%)
Chromavivid (0.228)
Temperaturewarm
Nearest namePurpley Pink (#C83CB9)
Black text4.16:1
White text5.04:1

Values

HEX#C227AA
RGBrgb(194, 39, 170)
HSLhsl(309, 67%, 46%)
OKLCHoklch(57.1% 0.228 335.6)

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 #C227AA 5.04:1 AA Lc -78.7 Fine for body text
Black text on #C227AA 4.16:1 AA large text Lc 30.8 Non-text elements, placeholder text
#C227AA text on white 5.04:1 AA Lc 73.3 Content text, not long reading
#C227AA text on black 4.16:1 AA large text Lc -28.4 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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F7E3F2

    oklch(93.6% 0.029 334.4)

  3. Step 200

    200

    #F2CCE8

    oklch(88.6% 0.056 335.5)

  4. Step 300

    300

    #EBA7DA

    oklch(80.8% 0.103 335.9)

  5. Step 400

    400

    #DE75C8

    oklch(70.8% 0.164 335.6)

  6. Step 500

    500

    #D249B9

    oklch(63.1% 0.21 335.8)

  7. Step 600

    600 (this color)

    #C227AA

    oklch(57.1% 0.228 335.6)

  8. Step 700

    700

    #A20B8D

    oklch(49% 0.212 335.7)

  9. Step 800

    800

    #841273

    oklch(42.7% 0.176 335.6)

  10. Step 900

    900

    #6A1A5D

    oklch(37.6% 0.137 335.3)

  11. Step 950

    950

    #3F1136

    oklch(27% 0.087 336.3)

Export this scale for Tailwind in the Tailwind colors tool

#C227AA 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)#2860AD0.253
Deuteranopia (no green cones)#6377A70.213
Tritanopia (no blue cones)#CC35680.114
Achromatopsia (no color)#6F6F6F0.230

Harmonies

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

Complementary

The opposite hue (180°).

  • #C227AA

    #C227AA

    oklch(57.1% 0.228 335.6)

  • #008F53

    #008F53

    oklch(57.1% 0.139 155.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C227AA

    #C227AA

    oklch(57.1% 0.228 335.6)

  • #9942DF

    #9942DF

    oklch(57.1% 0.228 305.6)

  • #DA0464

    #DA0464

    oklch(57.2% 0.228 5.7)

Open the analogous palette in the generator

Split complementary

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

  • #C227AA

    #C227AA

    oklch(57.1% 0.228 335.6)

  • #638600

    #638600

    oklch(57.2% 0.145 125.8)

  • #008B80

    #008B80

    oklch(57.3% 0.101 185.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C227AA

    #C227AA

    oklch(57.1% 0.228 335.6)

  • #8D7600

    #8D7600

    oklch(57.1% 0.117 95.4)

  • #00869D

    #00869D

    oklch(57.1% 0.101 215.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C227AA

    #C227AA

    oklch(57.1% 0.228 335.6)

  • #AA6500

    #AA6500

    oklch(57.1% 0.128 65.1)

  • #008F53

    #008F53

    oklch(57.1% 0.139 155.8)

  • #007DC7

    #007DC7

    oklch(57.1% 0.146 245.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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