#C5226C

Closest named color: Dark Hot Pink (#D90166). oklch(54.7% 0.202 359.9), rgb(197, 34, 108).

Aa

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

About this color

#C5226C is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.202 and its hue 360°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Hot Pink (#D90166), ΔE 0.039 away. White text reads best on it, at 5.49:1.

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.202)
Temperaturewarm
Nearest nameDark Hot Pink (#D90166)
Black text3.81:1
White text5.49:1

Values

HEX#C5226C
RGBrgb(197, 34, 108)
HSLhsl(333, 71%, 45%)
OKLCHoklch(54.7% 0.202 359.9)

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 #C5226C 5.49:1 AA Lc -81.1 Fine for body text
Black text on #C5226C 3.81:1 AA large text Lc 28.3 Dividers and decoration only
#C5226C text on white 5.49:1 AA Lc 75.8 Fine for body text
#C5226C text on black 3.81:1 AA large text Lc -26.0 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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #FAE3E9

    oklch(93.6% 0.026 359.9)

  3. Step 200

    200

    #F7CCD8

    oklch(88.6% 0.051 359.6)

  4. Step 300

    300

    #F2A8BE

    oklch(80.9% 0.091 359.9)

  5. Step 400

    400

    #E8769D

    oklch(70.7% 0.146 359.8)

  6. Step 500

    500

    #DD4D85

    oklch(63.1% 0.185 359.9)

  7. Step 600

    600 (this color)

    #C5226C

    oklch(54.7% 0.202 359.9)

  8. Step 700

    700

    #AD155C

    oklch(49.2% 0.188 0.3)

  9. Step 800

    800

    #8C174C

    oklch(42.7% 0.156 359.6)

  10. Step 900

    900

    #711D3F

    oklch(37.8% 0.121 0.1)

  11. Step 950

    950

    #421325

    oklch(27% 0.075 359.7)

Export this scale for Tailwind in the Tailwind colors tool

#C5226C 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)#4B556E0.229
Deuteranopia (no green cones)#7774680.205
Tritanopia (no blue cones)#D600450.063
Achromatopsia (no color)#6969690.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5226C

    #C5226C

    oklch(54.7% 0.202 359.9)

  • #008373

    #008373

    oklch(54.7% 0.099 180.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5226C

    #C5226C

    oklch(54.7% 0.202 359.9)

  • #AD34A7

    #AD34A7

    oklch(54.7% 0.202 330)

  • #CC2718

    #CC2718

    oklch(54.7% 0.202 30)

Open the analogous palette in the generator

Split complementary

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

  • #C5226C

    #C5226C

    oklch(54.7% 0.202 359.9)

  • #00883C

    #00883C

    oklch(54.8% 0.152 149.8)

  • #007F8F

    #007F8F

    oklch(54.7% 0.095 210.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5226C

    #C5226C

    oklch(54.7% 0.202 359.9)

  • #687B00

    #687B00

    oklch(54.8% 0.13 119.9)

  • #0078B2

    #0078B2

    oklch(54.6% 0.126 240.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5226C

    #C5226C

    oklch(54.7% 0.202 359.9)

  • #8A6D00

    #8A6D00

    oklch(54.8% 0.112 90.2)

  • #008373

    #008373

    oklch(54.7% 0.099 180.3)

  • #4660E4

    #4660E4

    oklch(54.7% 0.202 269.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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