#C02EAB#C02EAB

#C02EAB is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.3% C 0.221 H 334.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C02EAB
RGBrgb(192, 46, 171)
HSLhsl(309, 61%, 47%)
HSVhsv(309, 76%, 75%)
CMYKcmyk(0%, 76%, 10.9%, 24.7%)
CIE-LABlab(47.11, 68.66, -34.48)
CIE-LCHlch(47.11, 76.83, 333.33°)
OKLaboklab(57.34% 0.2002 -0.0944)
OKLCHoklch(57.34% 0.221 334.8)
XYZxyz(30.0663, 16.1034, 40.0450)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02EAB #2EC043
analogous
#8C2EC0 #C02EAB #C02E62
triadic
#C02EAB #ABC02E #2EABC0
tetradic
#C02EAB #C08C2E #2EC043 #2E62C0
square
#C02EAB #C08C2E #2EC043 #2E62C0
split-complementary
#C02EAB #62C02E #2EC08C
monochromatic
#5D1653 #8F227F #C02EAB #D655C4 #E286D5

Accessibility & contrast

On white

4.98
#C02EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#C02EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02EAB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02EAB#FFFFFF#000000##FFFFFF
##C02EAB1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C62AE
Deuteranopia (green-blind)
#6377A8
Tritanopia (blue-blind)
#C93B6A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02eab;
/* rgb */ color: rgb(192, 46, 171);
/* oklch */ color: oklch(57.3% 0.221 334.8);
Tailwind
colors: {
  custom: {
    50: '#d777c4',
    500: '#c02eab',
    950: '#000000',
  },
}
SCSS
$custom: #c02eab;
$custom-light: #d777c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c02eab",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 308.63,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57341,
    "c": 0.22129,
    "h": 334.8
  },
  "luminance": 0.16101
}

Semantic roles & 50–950 ramp

primary
#C02EAB
secondary
#7ECC89
accent
#E45B43
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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