#C52862

Closest named color: Ruby (#CA0147). oklch(54.8% 0.194 4.8), rgb(197, 40, 98).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.194)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.85:1
White text5.44:1

Values

HEX#C52862
RGBrgb(197, 40, 98)
HSLhsl(338, 66%, 46%)
OKLCHoklch(54.8% 0.194 4.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 #C52862 5.44:1 AA Lc -81.0 Fine for body text
Black text on #C52862 3.85:1 AA large text Lc 28.4 Dividers and decoration only
#C52862 text on white 5.44:1 AA Lc 75.6 Fine for body text
#C52862 text on black 3.85:1 AA large text Lc -26.1 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

    #F7CCD5

    oklch(88.5% 0.05 4.1)

  4. Step 300

    300

    #F2A9B9

    oklch(80.9% 0.088 4.8)

  5. Step 400

    400

    #E77895

    oklch(70.6% 0.14 4.7)

  6. Step 500

    500

    #DD507B

    oklch(63.2% 0.179 5)

  7. Step 600

    600 (this color)

    #C52862

    oklch(54.8% 0.194 4.8)

  8. Step 700

    700

    #AC1B53

    oklch(49% 0.18 4.8)

  9. Step 800

    800

    #8C1B44

    oklch(42.7% 0.15 4.9)

  10. Step 900

    900

    #711F39

    oklch(37.8% 0.116 5.4)

  11. Step 950

    950

    #421322

    oklch(26.9% 0.074 3.8)

Export this scale for Tailwind in the Tailwind colors tool

#C52862 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)#5156630.219
Deuteranopia (no green cones)#7A755E0.199
Tritanopia (no blue cones)#D700420.053
Achromatopsia (no color)#6A6A6A0.196

Harmonies

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

Complementary

The opposite hue (180°).

  • #C52862

    #C52862

    oklch(54.8% 0.194 4.8)

  • #008378

    #008378

    oklch(54.8% 0.097 184.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C52862

    #C52862

    oklch(54.8% 0.194 4.8)

  • #B0359D

    #B0359D

    oklch(54.8% 0.195 334.8)

  • #C83200

    #C83200

    oklch(54.8% 0.192 34.9)

Open the analogous palette in the generator

Split complementary

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

  • #C52862

    #C52862

    oklch(54.8% 0.194 4.8)

  • #00874C

    #00874C

    oklch(54.8% 0.135 155)

  • #007F94

    #007F94

    oklch(54.9% 0.097 214.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C52862

    #C52862

    oklch(54.8% 0.194 4.8)

  • #5F7E00

    #5F7E00

    oklch(54.9% 0.138 125)

  • #0076BB

    #0076BB

    oklch(54.7% 0.138 245.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C52862

    #C52862

    oklch(54.8% 0.194 4.8)

  • #866F00

    #866F00

    oklch(54.8% 0.112 94.5)

  • #008378

    #008378

    oklch(54.8% 0.097 184.6)

  • #545EDF

    #545EDF

    oklch(54.8% 0.194 274.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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