#CA0072

Closest named color: Medium Violet Red (#C71585). oklch(54.6% 0.223 357.1), rgb(202, 0, 114).

Aa

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

About this color

#CA0072 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.030 away. White text reads best on it, at 5.59:1.

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

Values

HEX#CA0072
RGBrgb(202, 0, 114)
HSLhsl(326, 100%, 40%)
OKLCHoklch(54.6% 0.223 357.1)

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 #CA0072 5.59:1 AA Lc -80.7 Fine for body text
Black text on #CA0072 3.75:1 AA large text Lc 28.7 Dividers and decoration only
#CA0072 text on white 5.59:1 AA Lc 75.4 Fine for body text
#CA0072 text on black 3.75: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

    #F9CBD9

    oklch(88.6% 0.055 358.1)

  4. Step 300

    300

    #F6A5C1

    oklch(80.9% 0.101 357.3)

  5. Step 400

    400

    #ED71A2

    oklch(70.8% 0.161 357.1)

  6. Step 500

    500

    #E2428B

    oklch(63% 0.205 356.9)

  7. Step 600

    600 (this color)

    #CA0072

    oklch(54.6% 0.223 357.1)

  8. Step 700

    700

    #AF0062

    oklch(49.1% 0.2 357.1)

  9. Step 800

    800

    #900450

    oklch(42.7% 0.172 357.1)

  10. Step 900

    900

    #741542

    oklch(37.7% 0.134 357.4)

  11. Step 950

    950

    #440F27

    oklch(26.9% 0.085 356.7)

Export this scale for Tailwind in the Tailwind colors tool

#CA0072 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)#4352740.255
Deuteranopia (no green cones)#75746E0.225
Tritanopia (no blue cones)#DB00420.081
Achromatopsia (no color)#6868680.225

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA0072

    #CA0072

    oklch(54.6% 0.223 357.1)

  • #00836F

    #00836F

    oklch(54.5% 0.101 177)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA0072

    #CA0072

    oklch(54.6% 0.223 357.1)

  • #AE28B2

    #AE28B2

    oklch(54.6% 0.223 326.8)

  • #D30016

    #D30016

    oklch(54.5% 0.222 27)

Open the analogous palette in the generator

Split complementary

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

  • #CA0072

    #CA0072

    oklch(54.6% 0.223 357.1)

  • #008830

    #008830

    oklch(54.6% 0.162 147.1)

  • #007F8C

    #007F8C

    oklch(54.5% 0.094 207.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA0072

    #CA0072

    oklch(54.6% 0.223 357.1)

  • #6C7900

    #6C7900

    oklch(54.6% 0.126 117)

  • #0079AD

    #0079AD

    oklch(54.6% 0.12 237.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA0072

    #CA0072

    oklch(54.6% 0.223 357.1)

  • #8C6B00

    #8C6B00

    oklch(54.6% 0.112 87.2)

  • #00836F

    #00836F

    oklch(54.5% 0.101 177)

  • #375EF0

    #375EF0

    oklch(54.7% 0.223 266.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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