#CA3171

Closest named color: Dark Pink (#CB416B). oklch(56.8% 0.194 0.5), rgb(202, 49, 113).

Aa

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

About this color

#CA3171 is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.194 and its hue 0°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Pink (#CB416B), ΔE 0.029 away. White text reads best on it, at 5.01:1.

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.194)
Temperaturewarm
Nearest nameDark Pink (#CB416B)
Black text4.18:1
White text5.01:1

Values

HEX#CA3171
RGBrgb(202, 49, 113)
HSLhsl(335, 61%, 49%)
OKLCHoklch(56.8% 0.194 0.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 #CA3171 5.01:1 AA Lc -78.7 Fine for body text
Black text on #CA3171 4.18:1 AA large text Lc 30.8 Non-text elements, placeholder text
#CA3171 text on white 5.01:1 AA Lc 73.3 Content text, not long reading
#CA3171 text on black 4.18:1 AA large text Lc -28.4 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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #F9E3E9

    oklch(93.5% 0.025 359.2)

  3. Step 200

    200

    #F6CCD7

    oklch(88.4% 0.049 0.6)

  4. Step 300

    300

    #F1A9BE

    oklch(80.9% 0.088 0.2)

  5. Step 400

    400

    #E6789C

    oklch(70.7% 0.141 0.5)

  6. Step 500

    500

    #DB5084

    oklch(63.1% 0.179 0.5)

  7. Step 600

    600 (this color)

    #CA3171

    oklch(56.8% 0.194 0.5)

  8. Step 700

    700

    #AA1C5C

    oklch(49% 0.181 0.1)

  9. Step 800

    800

    #8A1C4B

    oklch(42.7% 0.149 0.3)

  10. Step 900

    900

    #6F1F3E

    oklch(37.6% 0.116 0.7)

  11. Step 950

    950

    #421425

    oklch(27.1% 0.074 0.3)

Export this scale for Tailwind in the Tailwind colors tool

#CA3171 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)#545C730.218
Deuteranopia (no green cones)#7D7A6D0.197
Tritanopia (no blue cones)#DB134D0.058
Achromatopsia (no color)#6F6F6F0.196

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA3171

    #CA3171

    oklch(56.8% 0.194 0.5)

  • #008A79

    #008A79

    oklch(56.8% 0.103 180.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA3171

    #CA3171

    oklch(56.8% 0.194 0.5)

  • #B23FAB

    #B23FAB

    oklch(56.8% 0.194 330.3)

  • #D03624

    #D03624

    oklch(56.8% 0.193 30.5)

Open the analogous palette in the generator

Split complementary

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

  • #CA3171

    #CA3171

    oklch(56.8% 0.194 0.5)

  • #008F42

    #008F42

    oklch(56.8% 0.155 150.4)

  • #008697

    #008697

    oklch(56.8% 0.098 210.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA3171

    #CA3171

    oklch(56.8% 0.194 0.5)

  • #6C8200

    #6C8200

    oklch(56.9% 0.136 120.8)

  • #007EBC

    #007EBC

    oklch(56.7% 0.132 240.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA3171

    #CA3171

    oklch(56.8% 0.194 0.5)

  • #917300

    #917300

    oklch(56.8% 0.116 90.5)

  • #008A79

    #008A79

    oklch(56.8% 0.103 180.1)

  • #4E67E7

    #4E67E7

    oklch(56.7% 0.195 270.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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