#CA0173

Closest named color: Medium Violet Red (#C71585). oklch(54.7% 0.223 356.7), rgb(202, 1, 115).

Aa

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

About this color

#CA0173 is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.223 and its hue 357°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.028 away. White text reads best on it, at 5.58:1.

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.223)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.76:1
White text5.58:1

Values

HEX#CA0173
RGBrgb(202, 1, 115)
HSLhsl(326, 99%, 40%)
OKLCHoklch(54.7% 0.223 356.7)

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 #CA0173 5.58:1 AA Lc -80.7 Fine for body text
Black text on #CA0173 3.76:1 AA large text Lc 28.8 Dividers and decoration only
#CA0173 text on white 5.58:1 AA Lc 75.3 Fine for body text
#CA0173 text on black 3.76:1 AA large text Lc -26.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

    #FEF2F5

    oklch(97.1% 0.013 0.3)

  2. Step 100

    100

    #FBE2EA

    oklch(93.5% 0.029 356.3)

  3. Step 200

    200

    #F9CBDA

    oklch(88.6% 0.055 356.8)

  4. Step 300

    300

    #F5A5C2

    oklch(80.8% 0.101 356.2)

  5. Step 400

    400

    #EC71A2

    oklch(70.7% 0.16 356.9)

  6. Step 500

    500

    #E2428C

    oklch(63% 0.205 356.5)

  7. Step 600

    600 (this color)

    #CA0173

    oklch(54.7% 0.223 356.7)

  8. Step 700

    700

    #AF0063

    oklch(49.1% 0.201 356.6)

  9. Step 800

    800

    #900451

    oklch(42.7% 0.172 356.6)

  10. Step 900

    900

    #741543

    oklch(37.7% 0.134 356.7)

  11. Step 950

    950

    #440F27

    oklch(26.9% 0.085 356.7)

Export this scale for Tailwind in the Tailwind colors tool

#CA0173 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)#4252750.256
Deuteranopia (no green cones)#75746F0.225
Tritanopia (no blue cones)#DB00420.082
Achromatopsia (no color)#6868680.225

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA0173

    #CA0173

    oklch(54.7% 0.223 356.7)

  • #00836F

    #00836F

    oklch(54.5% 0.101 177)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA0173

    #CA0173

    oklch(54.7% 0.223 356.7)

  • #AE29B2

    #AE29B2

    oklch(54.6% 0.222 326.8)

  • #D40018

    #D40018

    oklch(54.7% 0.223 26.8)

Open the analogous palette in the generator

Split complementary

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

  • #CA0173

    #CA0173

    oklch(54.7% 0.223 356.7)

  • #00882E

    #00882E

    oklch(54.6% 0.163 146.7)

  • #007F8C

    #007F8C

    oklch(54.5% 0.094 207.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA0173

    #CA0173

    oklch(54.7% 0.223 356.7)

  • #6C7900

    #6C7900

    oklch(54.6% 0.126 117)

  • #0079AC

    #0079AC

    oklch(54.6% 0.119 236.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA0173

    #CA0173

    oklch(54.7% 0.223 356.7)

  • #8D6B00

    #8D6B00

    oklch(54.7% 0.112 86.6)

  • #00836F

    #00836F

    oklch(54.5% 0.101 177)

  • #365EF0

    #365EF0

    oklch(54.7% 0.223 266.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #CA0173.

Similar named colors

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

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