#C02A4E

Closest named color: Ruby (#CA0147). oklch(53.5% 0.185 13), rgb(192, 42, 78).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.185)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.68:1
White text5.70:1

Values

HEX#C02A4E
RGBrgb(192, 42, 78)
HSLhsl(346, 64%, 46%)
OKLCHoklch(53.5% 0.185 13)

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 #C02A4E 5.70:1 AA Lc -82.4 Fine for body text
Black text on #C02A4E 3.68:1 AA large text Lc 27.0 Dividers and decoration only
#C02A4E text on white 5.70:1 AA Lc 77.1 Fine for body text
#C02A4E text on black 3.68:1 AA large text Lc -24.7 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

    #FDF3F3

    oklch(97.2% 0.011 17.3)

  2. Step 100

    100

    #FAE4E5

    oklch(93.7% 0.024 14.4)

  3. Step 200

    200

    #F6CDD0

    oklch(88.4% 0.046 13.1)

  4. Step 300

    300

    #F1ABB1

    oklch(80.9% 0.083 13.4)

  5. Step 400

    400

    #E77B89

    oklch(70.7% 0.134 12.9)

  6. Step 500

    500

    #DC546C

    oklch(63.1% 0.17 12.8)

  7. Step 600

    600 (this color)

    #C02A4E

    oklch(53.5% 0.185 13)

  8. Step 700

    700

    #AC2244

    oklch(49.1% 0.173 13)

  9. Step 800

    800

    #8B2038

    oklch(42.6% 0.142 13)

  10. Step 900

    900

    #702130

    oklch(37.6% 0.111 13.1)

  11. Step 950

    950

    #42151C

    oklch(27% 0.07 13.7)

Export this scale for Tailwind in the Tailwind colors tool

#C02A4E 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)#54534E0.207
Deuteranopia (no green cones)#7A724A0.190
Tritanopia (no blue cones)#D2003A0.042
Achromatopsia (no color)#6666660.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #C02A4E

    #C02A4E

    oklch(53.5% 0.185 13)

  • #007E7C

    #007E7C

    oklch(53.6% 0.092 192.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C02A4E

    #C02A4E

    oklch(53.5% 0.185 13)

  • #B03289

    #B03289

    oklch(53.5% 0.185 342.9)

  • #B54500

    #B54500

    oklch(53.6% 0.159 43)

Open the analogous palette in the generator

Split complementary

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

  • #C02A4E

    #C02A4E

    oklch(53.5% 0.185 13)

  • #008259

    #008259

    oklch(53.6% 0.117 162.5)

  • #007997

    #007997

    oklch(53.5% 0.1 223)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C02A4E

    #C02A4E

    oklch(53.5% 0.185 13)

  • #487E00

    #487E00

    oklch(53.4% 0.15 132.9)

  • #006DC9

    #006DC9

    oklch(53.5% 0.165 253)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C02A4E

    #C02A4E

    oklch(53.5% 0.185 13)

  • #7A6F00

    #7A6F00

    oklch(53.5% 0.112 102.6)

  • #007E7C

    #007E7C

    oklch(53.6% 0.092 192.8)

  • #6356D3

    #6356D3

    oklch(53.5% 0.185 282.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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