#C02EA6#C02EA6

#C02EA6 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 57.1% C 0.218 H 336.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C02EA6
RGBrgb(192, 46, 166)
HSLhsl(311, 61%, 47%)
HSVhsv(311, 76%, 75%)
CMYKcmyk(0%, 76%, 13.5%, 24.7%)
CIE-LABlab(46.86, 67.94, -31.91)
CIE-LCHlch(46.86, 75.06, 334.84°)
OKLaboklab(57.08% 0.1998 -0.087)
OKLCHoklch(57.08% 0.218 336.5)
XYZxyz(29.5987, 15.9164, 37.5823)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02EA6 #2EC048
analogous
#912EC0 #C02EA6 #C02E5D
triadic
#C02EA6 #A6C02E #2EA6C0
tetradic
#C02EA6 #C0912E #2EC048 #2E5DC0
square
#C02EA6 #C0912E #2EC048 #2E5DC0
split-complementary
#C02EA6 #5DC02E #2EC091
monochromatic
#5D1651 #8F227B #C02EA6 #D655BF #E286D2

Accessibility & contrast

On white

5.02
#C02EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#C02EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02EA6
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02EA6#FFFFFF#000000##FFFFFF
##C02EA61.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3161A9
Deuteranopia (green-blind)
#6577A3
Tritanopia (blue-blind)
#CA3968
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c02ea6;
/* rgb */ color: rgb(192, 46, 166);
/* oklch */ color: oklch(57.1% 0.218 336.5);
Tailwind
colors: {
  custom: {
    50: '#d776c1',
    500: '#c02ea6',
    950: '#000000',
  },
}
SCSS
$custom: #c02ea6;
$custom-light: #d776c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ea6",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 310.685,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57085,
    "c": 0.21789,
    "h": 336.5
  },
  "luminance": 0.15914
}

Semantic roles & 50–950 ramp

primary
#C02EA6
secondary
#7ECC8C
accent
#E46043
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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