#C02EA1#C02EA1

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

Color values

HEX#C02EA1
RGBrgb(192, 46, 161)
HSLhsl(313, 61%, 47%)
HSVhsv(313, 76%, 75%)
CMYKcmyk(0%, 76%, 16.1%, 24.7%)
CIE-LABlab(46.63, 67.24, -29.30)
CIE-LCHlch(46.63, 73.35, 336.45°)
OKLaboklab(56.84% 0.1993 -0.0795)
OKLCHoklch(56.84% 0.215 338.2)
XYZxyz(29.1489, 15.7365, 35.2136)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02EA1 #2EC04D
analogous
#962EC0 #C02EA1 #C02E58
triadic
#C02EA1 #A1C02E #2EA1C0
tetradic
#C02EA1 #C0962E #2EC04D #2E58C0
square
#C02EA1 #C0962E #2EC04D #2E58C0
split-complementary
#C02EA1 #58C02E #2EC096
monochromatic
#5D164E #8F2278 #C02EA1 #D655BB #E286CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02EA1#FFFFFF#000000##FFFFFF
##C02EA11.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)
#3560A4
Deuteranopia (green-blind)
#67779E
Tritanopia (blue-blind)
#CB3665
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c02ea1;
/* rgb */ color: rgb(192, 46, 161);
/* oklch */ color: oklch(56.8% 0.215 338.2);
Tailwind
colors: {
  custom: {
    50: '#d776bd',
    500: '#c02ea1',
    950: '#000000',
  },
}
SCSS
$custom: #c02ea1;
$custom-light: #d776bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ea1",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 312.74,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56837,
    "c": 0.21457,
    "h": 338.2
  },
  "luminance": 0.15734
}

Semantic roles & 50–950 ramp

primary
#C02EA1
secondary
#7ECC8F
accent
#E46643
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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