#CA008C

Closest named color: Medium Violet Red (#C71585). oklch(55.6% 0.234 347.5), rgb(202, 0, 140).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.234)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.89:1
White text5.39:1

Values

HEX#CA008C
RGBrgb(202, 0, 140)
HSLhsl(318, 100%, 40%)
OKLCHoklch(55.6% 0.234 347.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 #CA008C 5.39:1 AA Lc -79.7 Fine for body text
Black text on #CA008C 3.89:1 AA large text Lc 29.8 Dividers and decoration only
#CA008C text on white 5.39:1 AA Lc 74.3 Content text, not long reading
#CA008C text on black 3.89:1 AA large text Lc -27.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

    #FDF2F7

    oklch(97.1% 0.013 347.9)

  2. Step 100

    100

    #FAE2EE

    oklch(93.6% 0.031 346)

  3. Step 200

    200

    #F8CAE0

    oklch(88.5% 0.059 348)

  4. Step 300

    300

    #F3A5CD

    oklch(80.9% 0.104 347.6)

  5. Step 400

    400

    #E96FB4

    oklch(70.6% 0.169 347.2)

  6. Step 500

    500

    #DF40A1

    oklch(63.1% 0.215 347.6)

  7. Step 600

    600 (this color)

    #CA008C

    oklch(55.6% 0.234 347.5)

  8. Step 700

    700

    #AB0076

    oklch(49.1% 0.207 347.4)

  9. Step 800

    800

    #8D0061

    oklch(42.7% 0.18 347.2)

  10. Step 900

    900

    #72134F

    oklch(37.7% 0.141 347.6)

  11. Step 950

    950

    #430E2E

    oklch(26.9% 0.089 347.6)

Export this scale for Tailwind in the Tailwind colors tool

#CA008C 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)#35568F0.269
Deuteranopia (no green cones)#6E75880.230
Tritanopia (no blue cones)#D900510.099
Achromatopsia (no color)#6A6A6A0.236

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA008C

    #CA008C

    oklch(55.6% 0.234 347.5)

  • #008866

    #008866

    oklch(55.6% 0.113 167.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA008C

    #CA008C

    oklch(55.6% 0.234 347.5)

  • #A82ECA

    #A82ECA

    oklch(55.7% 0.234 317.5)

  • #D60040

    #D60040

    oklch(55.6% 0.222 17.4)

Open the analogous palette in the generator

Split complementary

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

  • #CA008C

    #CA008C

    oklch(55.6% 0.234 347.5)

  • #398800

    #398800

    oklch(55.5% 0.17 137.5)

  • #008487

    #008487

    oklch(55.6% 0.095 197.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA008C

    #CA008C

    oklch(55.6% 0.234 347.5)

  • #7B7700

    #7B7700

    oklch(55.5% 0.119 107.4)

  • #007FA4

    #007FA4

    oklch(55.6% 0.108 227.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA008C

    #CA008C

    oklch(55.6% 0.234 347.5)

  • #996900

    #996900

    oklch(55.7% 0.116 77.3)

  • #008866

    #008866

    oklch(55.6% 0.113 167.6)

  • #006DE5

    #006DE5

    oklch(55.6% 0.201 257.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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