#C02257

Closest named color: Ruby (#CA0147). oklch(53.2% 0.193 7.9), rgb(192, 34, 87).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (53%)
Chromavivid (0.193)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.60:1
White text5.82:1

Values

HEX#C02257
RGBrgb(192, 34, 87)
HSLhsl(340, 70%, 44%)
OKLCHoklch(53.2% 0.193 7.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 #C02257 5.82:1 AA Lc -82.8 Fine for body text
Black text on #C02257 3.60:1 AA large text Lc 26.6 Dividers and decoration only
#C02257 text on white 5.82:1 AA Lc 77.5 Fine for body text
#C02257 text on black 3.60:1 AA large text Lc -24.3 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

    #FAE3E7

    oklch(93.6% 0.026 5.7)

  3. Step 200

    200

    #F7CDD3

    oklch(88.6% 0.048 8.4)

  4. Step 300

    300

    #F2AAB6

    oklch(81% 0.086 8.2)

  5. Step 400

    400

    #E87990

    oklch(70.8% 0.138 8.1)

  6. Step 500

    500

    #DD5075

    oklch(63% 0.177 7.8)

  7. Step 600

    600 (this color)

    #C02257

    oklch(53.2% 0.193 7.9)

  8. Step 700

    700

    #AD1C4D

    oklch(49.1% 0.179 8)

  9. Step 800

    800

    #8C1C3F

    oklch(42.7% 0.148 8.1)

  10. Step 900

    900

    #711F36

    oklch(37.7% 0.116 7.8)

  11. Step 950

    950

    #431420

    oklch(27.1% 0.073 7.7)

Export this scale for Tailwind in the Tailwind colors tool

#C02257 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)#4F51580.217
Deuteranopia (no green cones)#7770530.196
Tritanopia (no blue cones)#D2003A0.050
Achromatopsia (no color)#6565650.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #C02257

    #C02257

    oklch(53.2% 0.193 7.9)

  • #007D76

    #007D76

    oklch(53.1% 0.092 187.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C02257

    #C02257

    oklch(53.2% 0.193 7.9)

  • #AD2F92

    #AD2F92

    oklch(53.2% 0.192 338)

  • #BB3900

    #BB3900

    oklch(53.2% 0.175 37.9)

Open the analogous palette in the generator

Split complementary

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

  • #C02257

    #C02257

    oklch(53.2% 0.193 7.9)

  • #00814F

    #00814F

    oklch(53.1% 0.125 157.8)

  • #007991

    #007991

    oklch(53.2% 0.096 218.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C02257

    #C02257

    oklch(53.2% 0.193 7.9)

  • #557A00

    #557A00

    oklch(53.1% 0.138 127.7)

  • #0070BA

    #0070BA

    oklch(53.2% 0.143 247.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C02257

    #C02257

    oklch(53.2% 0.193 7.9)

  • #7E6C00

    #7E6C00

    oklch(53.2% 0.11 97.6)

  • #007D76

    #007D76

    oklch(53.1% 0.092 187.9)

  • #5857D8

    #5857D8

    oklch(53.3% 0.192 278)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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