#C02A6D

Closest named color: Medium Violet Red (#C71585). oklch(54.4% 0.192 359.1), rgb(192, 42, 109).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.192)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.79:1
White text5.53:1

Values

HEX#C02A6D
RGBrgb(192, 42, 109)
HSLhsl(333, 64%, 46%)
OKLCHoklch(54.4% 0.192 359.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 #C02A6D 5.53:1 AA Lc -81.6 Fine for body text
Black text on #C02A6D 3.79:1 AA large text Lc 27.8 Dividers and decoration only
#C02A6D text on white 5.53:1 AA Lc 76.2 Fine for body text
#C02A6D text on black 3.79:1 AA large text Lc -25.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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #F9E3E9

    oklch(93.5% 0.025 359.2)

  3. Step 200

    200

    #F5CDD8

    oklch(88.6% 0.047 359.7)

  4. Step 300

    300

    #F0AABF

    oklch(81% 0.086 359.6)

  5. Step 400

    400

    #E4799E

    oklch(70.6% 0.138 359.2)

  6. Step 500

    500

    #D95287

    oklch(63.1% 0.176 359.1)

  7. Step 600

    600 (this color)

    #C02A6D

    oklch(54.4% 0.192 359.1)

  8. Step 700

    700

    #A91F5E

    oklch(49.1% 0.178 359.2)

  9. Step 800

    800

    #891D4D

    oklch(42.6% 0.148 358.9)

  10. Step 900

    900

    #6F2040

    oklch(37.8% 0.115 359.4)

  11. Step 950

    950

    #411425

    oklch(26.9% 0.073 359.7)

Export this scale for Tailwind in the Tailwind colors tool

#C02A6D 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)#4D566F0.215
Deuteranopia (no green cones)#75736A0.194
Tritanopia (no blue cones)#D009480.059
Achromatopsia (no color)#6868680.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #C02A6D

    #C02A6D

    oklch(54.4% 0.192 359.1)

  • #008271

    #008271

    oklch(54.3% 0.099 179.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C02A6D

    #C02A6D

    oklch(54.4% 0.192 359.1)

  • #A839A5

    #A839A5

    oklch(54.4% 0.191 328.9)

  • #C72D22

    #C72D22

    oklch(54.4% 0.192 29.1)

Open the analogous palette in the generator

Split complementary

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

  • #C02A6D

    #C02A6D

    oklch(54.4% 0.192 359.1)

  • #008739

    #008739

    oklch(54.4% 0.153 149.1)

  • #007E8D

    #007E8D

    oklch(54.3% 0.094 209.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C02A6D

    #C02A6D

    oklch(54.4% 0.192 359.1)

  • #687900

    #687900

    oklch(54.3% 0.128 119)

  • #0078AF

    #0078AF

    oklch(54.5% 0.123 238.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C02A6D

    #C02A6D

    oklch(54.4% 0.192 359.1)

  • #8A6B00

    #8A6B00

    oklch(54.3% 0.111 88.6)

  • #008271

    #008271

    oklch(54.3% 0.099 179.3)

  • #4561DD

    #4561DD

    oklch(54.3% 0.191 269.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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