#C02EA2#C02EA2

#C02EA2 is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.9% C 0.215 H 337.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C02EA2
RGBrgb(192, 46, 162)
HSLhsl(312, 61%, 47%)
HSVhsv(312, 76%, 75%)
CMYKcmyk(0%, 76%, 15.6%, 24.7%)
CIE-LABlab(46.67, 67.38, -29.83)
CIE-LCHlch(46.67, 73.68, 336.12°)
OKLaboklab(56.89% 0.1994 -0.081)
OKLCHoklch(56.89% 0.215 337.9)
XYZxyz(29.2375, 15.7719, 35.6799)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02EA2 #2EC04C
analogous
#952EC0 #C02EA2 #C02E59
triadic
#C02EA2 #A2C02E #2EA2C0
tetradic
#C02EA2 #C0952E #2EC04C #2E59C0
square
#C02EA2 #C0952E #2EC04C #2E59C0
split-complementary
#C02EA2 #59C02E #2EC095
monochromatic
#5D164F #8F2278 #C02EA2 #D655BC #E286CF

Accessibility & contrast

On white

5.06
#C02EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#C02EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02EA2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02EA2#FFFFFF#000000##FFFFFF
##C02EA21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A5
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#CB3665
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c02ea2;
/* rgb */ color: rgb(192, 46, 162);
/* oklch */ color: oklch(56.9% 0.215 337.9);
Tailwind
colors: {
  custom: {
    50: '#d776be',
    500: '#c02ea2',
    950: '#000000',
  },
}
SCSS
$custom: #c02ea2;
$custom-light: #d776be;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ea2",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 312.329,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56886,
    "c": 0.21523,
    "h": 337.9
  },
  "luminance": 0.15769
}

Semantic roles & 50–950 ramp

primary
#C02EA2
secondary
#7ECC8E
accent
#E46443
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02EA2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C02EA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva