#CA038E

Closest named color: Medium Violet Red (#C71585). oklch(55.8% 0.234 346.8), rgb(202, 3, 142).

Aa

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

About this color

#CA038E 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.018 away. White text reads best on it, at 5.36:1.

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

Values

HEX#CA038E
RGBrgb(202, 3, 142)
HSLhsl(318, 97%, 40%)
OKLCHoklch(55.8% 0.234 346.8)

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 #CA038E 5.36:1 AA Lc -79.6 Fine for body text
Black text on #CA038E 3.91:1 AA large text Lc 29.8 Dividers and decoration only
#CA038E text on white 5.36:1 AA Lc 74.2 Content text, not long reading
#CA038E text on black 3.91:1 AA large text Lc -27.5 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

    #F7CAE1

    oklch(88.4% 0.059 346.2)

  4. Step 300

    300

    #F3A5CE

    oklch(80.9% 0.105 346.9)

  5. Step 400

    400

    #E970B5

    oklch(70.8% 0.168 346.9)

  6. Step 500

    500

    #DE40A3

    oklch(63.1% 0.215 346.6)

  7. Step 600

    600 (this color)

    #CA038E

    oklch(55.8% 0.234 346.8)

  8. Step 700

    700

    #AB0077

    oklch(49.2% 0.207 347)

  9. Step 800

    800

    #8D0062

    oklch(42.7% 0.18 346.7)

  10. Step 900

    900

    #711350

    oklch(37.6% 0.141 346.5)

  11. Step 950

    950

    #430F2F

    oklch(27.1% 0.088 346.8)

Export this scale for Tailwind in the Tailwind colors tool

#CA038E 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)#3557910.268
Deuteranopia (no green cones)#6E758A0.229
Tritanopia (no blue cones)#D900530.099
Achromatopsia (no color)#6B6B6B0.236

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA038E

    #CA038E

    oklch(55.8% 0.234 346.8)

  • #008965

    #008965

    oklch(55.9% 0.115 166.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA038E

    #CA038E

    oklch(55.8% 0.234 346.8)

  • #A72FCC

    #A72FCC

    oklch(55.7% 0.235 316.6)

  • #D70042

    #D70042

    oklch(55.8% 0.223 16.8)

Open the analogous palette in the generator

Split complementary

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

  • #CA038E

    #CA038E

    oklch(55.8% 0.234 346.8)

  • #3D8800

    #3D8800

    oklch(55.6% 0.168 136.7)

  • #008487

    #008487

    oklch(55.6% 0.095 197.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA038E

    #CA038E

    oklch(55.8% 0.234 346.8)

  • #7D7800

    #7D7800

    oklch(55.9% 0.12 106.8)

  • #007FA4

    #007FA4

    oklch(55.6% 0.108 227.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA038E

    #CA038E

    oklch(55.8% 0.234 346.8)

  • #9A6900

    #9A6900

    oklch(55.8% 0.117 76.7)

  • #008965

    #008965

    oklch(55.9% 0.115 166.5)

  • #006EE3

    #006EE3

    oklch(55.7% 0.197 256.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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