#C02A5C

Closest named color: Ruby (#CA0147). oklch(53.9% 0.187 6.8), rgb(192, 42, 92).

Aa

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

About this color

#C02A5C is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.187 and its hue 7°. Its hue sits on the warm side of the wheel. The nearest named color is Ruby (#CA0147), ΔE 0.036 away. White text reads best on it, at 5.63:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.187)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.72:1
White text5.63:1

Values

HEX#C02A5C
RGBrgb(192, 42, 92)
HSLhsl(340, 64%, 46%)
OKLCHoklch(53.9% 0.187 6.8)

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 #C02A5C 5.63:1 AA Lc -82.1 Fine for body text
Black text on #C02A5C 3.72:1 AA large text Lc 27.3 Dividers and decoration only
#C02A5C text on white 5.63:1 AA Lc 76.7 Fine for body text
#C02A5C text on black 3.72:1 AA large text Lc -25.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

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #F9E4E7

    oklch(93.7% 0.023 7.7)

  3. Step 200

    200

    #F6CDD4

    oklch(88.5% 0.047 6.5)

  4. Step 300

    300

    #F1AAB7

    oklch(80.9% 0.085 7.1)

  5. Step 400

    400

    #E67A92

    oklch(70.7% 0.135 7)

  6. Step 500

    500

    #DB5378

    oklch(63.1% 0.172 6.7)

  7. Step 600

    600 (this color)

    #C02A5C

    oklch(53.9% 0.187 6.8)

  8. Step 700

    700

    #AB2150

    oklch(49.2% 0.174 6.9)

  9. Step 800

    800

    #8B1F42

    oklch(42.8% 0.144 6.7)

  10. Step 900

    900

    #702137

    oklch(37.8% 0.112 7.4)

  11. Step 950

    950

    #421521

    oklch(27.1% 0.071 6.6)

Export this scale for Tailwind in the Tailwind colors tool

#C02A5C 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)#51545D0.210
Deuteranopia (no green cones)#7872580.191
Tritanopia (no blue cones)#D100400.048
Achromatopsia (no color)#6767670.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #C02A5C

    #C02A5C

    oklch(53.9% 0.187 6.8)

  • #008077

    #008077

    oklch(54% 0.095 186.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C02A5C

    #C02A5C

    oklch(53.9% 0.187 6.8)

  • #AD3595

    #AD3595

    oklch(53.9% 0.187 336.9)

  • #C03700

    #C03700

    oklch(53.9% 0.181 36.8)

Open the analogous palette in the generator

Split complementary

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

  • #C02A5C

    #C02A5C

    oklch(53.9% 0.187 6.8)

  • #00844E

    #00844E

    oklch(54% 0.13 156.5)

  • #007B92

    #007B92

    oklch(53.7% 0.096 216.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C02A5C

    #C02A5C

    oklch(53.9% 0.187 6.8)

  • #597C00

    #597C00

    oklch(53.9% 0.139 126.7)

  • #0073BB

    #0073BB

    oklch(54% 0.141 246.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C02A5C

    #C02A5C

    oklch(53.9% 0.187 6.8)

  • #816E00

    #816E00

    oklch(54% 0.111 97.1)

  • #008077

    #008077

    oklch(54% 0.095 186.2)

  • #575BD8

    #575BD8

    oklch(53.9% 0.188 276.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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