#C02EA3#C02EA3

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

Color values

HEX#C02EA3
RGBrgb(192, 46, 163)
HSLhsl(312, 61%, 47%)
HSVhsv(312, 76%, 75%)
CMYKcmyk(0%, 76%, 15.1%, 24.7%)
CIE-LABlab(46.72, 67.52, -30.35)
CIE-LCHlch(46.72, 74.02, 335.80°)
OKLaboklab(56.94% 0.1995 -0.0825)
OKLCHoklch(56.94% 0.216 337.5)
XYZxyz(29.3267, 15.8076, 36.1499)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02EA3 #2EC04B
analogous
#942EC0 #C02EA3 #C02E5A
triadic
#C02EA3 #A3C02E #2EA3C0
tetradic
#C02EA3 #C0942E #2EC04B #2E5AC0
square
#C02EA3 #C0942E #2EC04B #2E5AC0
split-complementary
#C02EA3 #5AC02E #2EC094
monochromatic
#5D164F #8F2279 #C02EA3 #D655BD #E286D0

Accessibility & contrast

On white

5.05
#C02EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#C02EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02EA3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02EA3#FFFFFF#000000##FFFFFF
##C02EA31.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A6
Deuteranopia (green-blind)
#6677A0
Tritanopia (blue-blind)
#CB3766
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c02ea3;
/* rgb */ color: rgb(192, 46, 163);
/* oklch */ color: oklch(56.9% 0.216 337.5);
Tailwind
colors: {
  custom: {
    50: '#d776be',
    500: '#c02ea3',
    950: '#000000',
  },
}
SCSS
$custom: #c02ea3;
$custom-light: #d776be;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ea3",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 311.918,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56935,
    "c": 0.21589,
    "h": 337.5
  },
  "luminance": 0.15805
}

Semantic roles & 50–950 ramp

primary
#C02EA3
secondary
#7ECC8E
accent
#E46343
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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