#C02EA4#C02EA4

#C02EA4 is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 57.0% C 0.217 H 337.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C02EA4
RGBrgb(192, 46, 164)
HSLhsl(312, 61%, 47%)
HSVhsv(312, 76%, 75%)
CMYKcmyk(0%, 76%, 14.6%, 24.7%)
CIE-LABlab(46.77, 67.66, -30.87)
CIE-LCHlch(46.77, 74.37, 335.48°)
OKLaboklab(56.99% 0.1996 -0.084)
OKLCHoklch(56.99% 0.217 337.2)
XYZxyz(29.4167, 15.8436, 36.6236)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02EA4 #2EC04A
analogous
#932EC0 #C02EA4 #C02E5B
triadic
#C02EA4 #A4C02E #2EA4C0
tetradic
#C02EA4 #C0932E #2EC04A #2E5BC0
square
#C02EA4 #C0932E #2EC04A #2E5BC0
split-complementary
#C02EA4 #5BC02E #2EC093
monochromatic
#5D1650 #8F227A #C02EA4 #D655BD #E286D0

Accessibility & contrast

On white

5.04
#C02EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#C02EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02EA4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02EA4#FFFFFF#000000##FFFFFF
##C02EA41.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3361A7
Deuteranopia (green-blind)
#6677A1
Tritanopia (blue-blind)
#CA3866
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c02ea4;
/* rgb */ color: rgb(192, 46, 164);
/* oklch */ color: oklch(57.0% 0.217 337.2);
Tailwind
colors: {
  custom: {
    50: '#d776bf',
    500: '#c02ea4',
    950: '#000000',
  },
}
SCSS
$custom: #c02ea4;
$custom-light: #d776bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ea4",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 311.507,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56985,
    "c": 0.21656,
    "h": 337.2
  },
  "luminance": 0.15841
}

Semantic roles & 50–950 ramp

primary
#C02EA4
secondary
#7ECC8D
accent
#E46243
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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