#C42E5B

Closest named color: Ruby (#CA0147). oklch(54.9% 0.187 8.5), rgb(196, 46, 91).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.187)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.88:1
White text5.39:1

Values

HEX#C42E5B
RGBrgb(196, 46, 91)
HSLhsl(342, 62%, 47%)
OKLCHoklch(54.9% 0.187 8.5)

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 #C42E5B 5.39:1 AA Lc -80.9 Fine for body text
Black text on #C42E5B 3.88:1 AA large text Lc 28.6 Dividers and decoration only
#C42E5B text on white 5.39:1 AA Lc 75.5 Fine for body text
#C42E5B text on black 3.88:1 AA large text Lc -26.2 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

    #F9E4E6

    oklch(93.6% 0.023 11)

  3. Step 200

    200

    #F6CDD3

    oklch(88.5% 0.047 8.2)

  4. Step 300

    300

    #F1AAB6

    oklch(80.9% 0.085 8)

  5. Step 400

    400

    #E67A90

    oklch(70.6% 0.135 8.2)

  6. Step 500

    500

    #DB5374

    oklch(63% 0.171 8.6)

  7. Step 600

    600 (this color)

    #C42E5B

    oklch(54.9% 0.187 8.5)

  8. Step 700

    700

    #AB214D

    oklch(49.1% 0.174 8.3)

  9. Step 800

    800

    #8B1F3F

    oklch(42.7% 0.144 8.5)

  10. Step 900

    900

    #702135

    oklch(37.7% 0.112 9.1)

  11. Step 950

    950

    #42151F

    oklch(27.1% 0.07 9.4)

Export this scale for Tailwind in the Tailwind colors tool

#C42E5B 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)#55575C0.210
Deuteranopia (no green cones)#7C75570.191
Tritanopia (no blue cones)#D600410.047
Achromatopsia (no color)#6A6A6A0.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #C42E5B

    #C42E5B

    oklch(54.9% 0.187 8.5)

  • #00837C

    #00837C

    oklch(55% 0.096 188.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C42E5B

    #C42E5B

    oklch(54.9% 0.187 8.5)

  • #B23895

    #B23895

    oklch(55% 0.187 338.8)

  • #C23E00

    #C23E00

    oklch(55% 0.177 38.6)

Open the analogous palette in the generator

Split complementary

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

  • #C42E5B

    #C42E5B

    oklch(54.9% 0.187 8.5)

  • #008754

    #008754

    oklch(54.9% 0.128 158.3)

  • #007E98

    #007E98

    oklch(54.8% 0.099 219)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C42E5B

    #C42E5B

    oklch(54.9% 0.187 8.5)

  • #578000

    #578000

    oklch(54.9% 0.145 128.5)

  • #0075C3

    #0075C3

    oklch(55% 0.149 248.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C42E5B

    #C42E5B

    oklch(54.9% 0.187 8.5)

  • #837100

    #837100

    oklch(54.9% 0.113 98.1)

  • #00837C

    #00837C

    oklch(55% 0.096 188.2)

  • #5E5DDA

    #5E5DDA

    oklch(54.9% 0.186 278.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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