#C5255F

Closest named color: Ruby (#CA0147). oklch(54.5% 0.196 5.8), rgb(197, 37, 95).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.196)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.80:1
White text5.52:1

Values

HEX#C5255F
RGBrgb(197, 37, 95)
HSLhsl(338, 68%, 46%)
OKLCHoklch(54.5% 0.196 5.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 #C5255F 5.52:1 AA Lc -81.3 Fine for body text
Black text on #C5255F 3.80:1 AA large text Lc 28.1 Dividers and decoration only
#C5255F text on white 5.52:1 AA Lc 76.0 Fine for body text
#C5255F text on black 3.80:1 AA large text Lc -25.8 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

    #F7CCD4

    oklch(88.4% 0.05 5.6)

  4. Step 300

    300

    #F2A9B8

    oklch(80.9% 0.088 5.7)

  5. Step 400

    400

    #E87893

    oklch(70.7% 0.14 6)

  6. Step 500

    500

    #DE4F79

    oklch(63.2% 0.18 5.9)

  7. Step 600

    600 (this color)

    #C5255F

    oklch(54.5% 0.196 5.8)

  8. Step 700

    700

    #AD1951

    oklch(49.1% 0.182 5.8)

  9. Step 800

    800

    #8D1A43

    oklch(42.8% 0.151 5.6)

  10. Step 900

    900

    #711E38

    oklch(37.7% 0.117 5.9)

  11. Step 950

    950

    #431321

    oklch(27% 0.075 5.7)

Export this scale for Tailwind in the Tailwind colors tool

#C5255F 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)#5055600.222
Deuteranopia (no green cones)#7A745B0.200
Tritanopia (no blue cones)#D7003F0.053
Achromatopsia (no color)#6969690.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #C5255F

    #C5255F

    oklch(54.5% 0.196 5.8)

  • #008278

    #008278

    oklch(54.6% 0.096 185.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C5255F

    #C5255F

    oklch(54.5% 0.196 5.8)

  • #B0339B

    #B0339B

    oklch(54.5% 0.196 335.5)

  • #C53500

    #C53500

    oklch(54.5% 0.187 35.9)

Open the analogous palette in the generator

Split complementary

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

  • #C5255F

    #C5255F

    oklch(54.5% 0.196 5.8)

  • #00864D

    #00864D

    oklch(54.5% 0.133 155.6)

  • #007E94

    #007E94

    oklch(54.6% 0.097 215.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C5255F

    #C5255F

    oklch(54.5% 0.196 5.8)

  • #5C7D00

    #5C7D00

    oklch(54.4% 0.138 125.9)

  • #0075BB

    #0075BB

    oklch(54.5% 0.139 245.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C5255F

    #C5255F

    oklch(54.5% 0.196 5.8)

  • #846F00

    #846F00

    oklch(54.5% 0.112 95.9)

  • #008278

    #008278

    oklch(54.6% 0.096 185.4)

  • #565CDF

    #565CDF

    oklch(54.6% 0.196 275.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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