#C02E5B

Closest named color: Ruby (#CA0147). oklch(54.2% 0.183 7.8), rgb(192, 46, 91).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.183)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.78:1
White text5.55:1

Values

HEX#C02E5B
RGBrgb(192, 46, 91)
HSLhsl(342, 61%, 47%)
OKLCHoklch(54.2% 0.183 7.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 #C02E5B 5.55:1 AA Lc -81.7 Fine for body text
Black text on #C02E5B 3.78:1 AA large text Lc 27.7 Dividers and decoration only
#C02E5B text on white 5.55:1 AA Lc 76.4 Fine for body text
#C02E5B text on black 3.78:1 AA large text Lc -25.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

    #FDF3F4

    oklch(97.2% 0.011 10.3)

  2. Step 100

    100

    #F9E4E7

    oklch(93.7% 0.023 7.7)

  3. Step 200

    200

    #F5CDD3

    oklch(88.4% 0.046 7.9)

  4. Step 300

    300

    #F0ABB7

    oklch(81% 0.082 7.6)

  5. Step 400

    400

    #E57B91

    oklch(70.7% 0.132 7.8)

  6. Step 500

    500

    #DA5576

    oklch(63.2% 0.168 8)

  7. Step 600

    600 (this color)

    #C02E5B

    oklch(54.2% 0.183 7.8)

  8. Step 700

    700

    #AA244E

    oklch(49.2% 0.17 8.1)

  9. Step 800

    800

    #8A2140

    oklch(42.8% 0.141 8.1)

  10. Step 900

    900

    #6F2236

    oklch(37.7% 0.11 8.3)

  11. Step 950

    950

    #411520

    oklch(26.9% 0.069 7.5)

Export this scale for Tailwind in the Tailwind colors tool

#C02E5B 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)#54565C0.205
Deuteranopia (no green cones)#7A73570.187
Tritanopia (no blue cones)#D100410.047
Achromatopsia (no color)#6868680.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #C02E5B

    #C02E5B

    oklch(54.2% 0.183 7.8)

  • #008079

    #008079

    oklch(54.1% 0.094 188.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C02E5B

    #C02E5B

    oklch(54.2% 0.183 7.8)

  • #AE3894

    #AE3894

    oklch(54.3% 0.183 337.8)

  • #C03B00

    #C03B00

    oklch(54.3% 0.178 37.9)

Open the analogous palette in the generator

Split complementary

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

  • #C02E5B

    #C02E5B

    oklch(54.2% 0.183 7.8)

  • #008551

    #008551

    oklch(54.3% 0.128 157.5)

  • #007C95

    #007C95

    oklch(54.1% 0.098 218.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C02E5B

    #C02E5B

    oklch(54.2% 0.183 7.8)

  • #577D00

    #577D00

    oklch(54.1% 0.141 127.8)

  • #0073BE

    #0073BE

    oklch(54.2% 0.145 247.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C02E5B

    #C02E5B

    oklch(54.2% 0.183 7.8)

  • #816F00

    #816F00

    oklch(54.2% 0.112 97.9)

  • #008079

    #008079

    oklch(54.1% 0.094 188.1)

  • #5A5CD6

    #5A5CD6

    oklch(54.1% 0.183 277.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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