#C02E97#C02E97

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

Color values

HEX#C02E97
RGBrgb(192, 46, 151)
HSLhsl(317, 61%, 47%)
HSVhsv(317, 76%, 75%)
CMYKcmyk(0%, 76%, 21.4%, 24.7%)
CIE-LABlab(46.17, 65.89, -24.03)
CIE-LCHlch(46.17, 70.14, 339.97°)
OKLaboklab(56.36% 0.198 -0.0646)
OKLCHoklch(56.36% 0.208 341.9)
XYZxyz(28.3021, 15.3978, 30.7537)
Luminance0.1540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02E97 #2EC057
analogous
#A02EC0 #C02E97 #C02E4E
triadic
#C02E97 #97C02E #2E97C0
tetradic
#C02E97 #C0A02E #2EC057 #2E4EC0
square
#C02E97 #C0A02E #2EC057 #2E4EC0
split-complementary
#C02E97 #4EC02E #2EC0A0
monochromatic
#5D1649 #8F2270 #C02E97 #D655B2 #E286C8

Accessibility & contrast

On white

5.15
#C02E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#C02E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02E97
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02E97#FFFFFF#000000##FFFFFF
##C02E971.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c02e97;
/* rgb */ color: rgb(192, 46, 151);
/* oklch */ color: oklch(56.4% 0.208 341.9);
Tailwind
colors: {
  custom: {
    50: '#d776b6',
    500: '#c02e97',
    950: '#000000',
  },
}
SCSS
$custom: #c02e97;
$custom-light: #d776b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c02e97",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 316.849,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56362,
    "c": 0.20824,
    "h": 341.9
  },
  "luminance": 0.15395
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02E97

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

Preview Lab → · Contrast checker → · Palette generator →

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