#C02E96#C02E96

#C02E96 is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.3% C 0.208 H 342.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C02E96
RGBrgb(192, 46, 150)
HSLhsl(317, 61%, 47%)
HSVhsv(317, 76%, 75%)
CMYKcmyk(0%, 76%, 21.9%, 24.7%)
CIE-LABlab(46.13, 65.76, -23.49)
CIE-LCHlch(46.13, 69.83, 340.34°)
OKLaboklab(56.32% 0.1978 -0.0631)
OKLCHoklch(56.32% 0.208 342.3)
XYZxyz(28.2212, 15.3654, 30.3278)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02E96 #2EC058
analogous
#A12EC0 #C02E96 #C02E4D
triadic
#C02E96 #96C02E #2E96C0
tetradic
#C02E96 #C0A12E #2EC058 #2E4DC0
square
#C02E96 #C0A12E #2EC058 #2E4DC0
split-complementary
#C02E96 #4DC02E #2EC0A1
monochromatic
#5D1649 #8F226F #C02E96 #D655B1 #E286C8

Accessibility & contrast

On white

5.16
#C02E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#C02E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02E96
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02E96#FFFFFF#000000##FFFFFF
##C02E961.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E99
Deuteranopia (green-blind)
#6B7693
Tritanopia (blue-blind)
#CC305F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c02e96;
/* rgb */ color: rgb(192, 46, 150);
/* oklch */ color: oklch(56.3% 0.208 342.3);
Tailwind
colors: {
  custom: {
    50: '#d776b5',
    500: '#c02e96',
    950: '#000000',
  },
}
SCSS
$custom: #c02e96;
$custom-light: #d776b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c02e96",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 317.26,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56317,
    "c": 0.20764,
    "h": 342.3
  },
  "luminance": 0.15362
}

Semantic roles & 50–950 ramp

primary
#C02E96
secondary
#7ECC94
accent
#E47243
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C02E96

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

Preview Lab → · Contrast checker → · Palette generator →

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