#CA1F31

Closest named color: Cherry (#CF0234). oklch(54.1% 0.202 23), rgb(202, 31, 49).

Aa

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

About this color

#CA1F31 is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.202 and its hue 23°. Its hue sits on the warm side of the wheel. The nearest named color is Cherry (#CF0234), ΔE 0.017 away. White text reads best on it, at 5.59:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.202)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.75:1
White text5.59:1

Values

HEX#CA1F31
RGBrgb(202, 31, 49)
HSLhsl(354, 73%, 46%)
OKLCHoklch(54.1% 0.202 23)

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 #CA1F31 5.59:1 AA Lc -81.4 Fine for body text
Black text on #CA1F31 3.75:1 AA large text Lc 28.0 Dividers and decoration only
#CA1F31 text on white 5.59:1 AA Lc 76.1 Fine for body text
#CA1F31 text on black 3.75:1 AA large text Lc -25.7 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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FBE3E2

    oklch(93.5% 0.026 20.5)

  3. Step 200

    200

    #F9CDCA

    oklch(88.5% 0.05 22.7)

  4. Step 300

    300

    #F6AAA5

    oklch(81% 0.09 23.4)

  5. Step 400

    400

    #ED7875

    oklch(70.6% 0.145 23)

  6. Step 500

    500

    #E44E51

    oklch(63.1% 0.186 23.1)

  7. Step 600

    600 (this color)

    #CA1F31

    oklch(54.1% 0.202 23)

  8. Step 700

    700

    #B31428

    oklch(49.1% 0.188 23)

  9. Step 800

    800

    #911722

    oklch(42.6% 0.156 23.1)

  10. Step 900

    900

    #751D21

    oklch(37.8% 0.122 22.9)

  11. Step 950

    950

    #451314

    oklch(27% 0.077 22.7)

Export this scale for Tailwind in the Tailwind colors tool

#CA1F31 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)#5851300.223
Deuteranopia (no green cones)#82742A0.201
Tritanopia (no blue cones)#DF00280.040
Achromatopsia (no color)#6868680.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA1F31

    #CA1F31

    oklch(54.1% 0.202 23)

  • #007E87

    #007E87

    oklch(54.1% 0.092 203.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA1F31

    #CA1F31

    oklch(54.1% 0.202 23)

  • #BF2279

    #BF2279

    oklch(54.1% 0.203 353)

  • #AA5300

    #AA5300

    oklch(54% 0.137 52.9)

Open the analogous palette in the generator

Split complementary

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

  • #CA1F31

    #CA1F31

    oklch(54.1% 0.202 23)

  • #008269

    #008269

    oklch(54.1% 0.104 173)

  • #0079A5

    #0079A5

    oklch(54.2% 0.112 232.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA1F31

    #CA1F31

    oklch(54.1% 0.202 23)

  • #00870C

    #00870C

    oklch(54.1% 0.181 143.1)

  • #2A63E2

    #2A63E2

    oklch(54% 0.203 263.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA1F31

    #CA1F31

    oklch(54.1% 0.202 23)

  • #707600

    #707600

    oklch(54.2% 0.121 113.3)

  • #007E87

    #007E87

    oklch(54.1% 0.092 203.6)

  • #784CD7

    #784CD7

    oklch(54.2% 0.202 293)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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