#C02E9B#C02E9B

#C02E9B is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.5% C 0.211 H 340.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C02E9B
RGBrgb(192, 46, 155)
HSLhsl(315, 61%, 47%)
HSVhsv(315, 76%, 75%)
CMYKcmyk(0%, 76%, 19.3%, 24.7%)
CIE-LABlab(46.35, 66.42, -26.15)
CIE-LCHlch(46.35, 71.38, 338.51°)
OKLaboklab(56.55% 0.1986 -0.0706)
OKLCHoklch(56.55% 0.211 340.4)
XYZxyz(28.6325, 15.5299, 32.4936)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02E9B #2EC053
analogous
#9C2EC0 #C02E9B #C02E52
triadic
#C02E9B #9BC02E #2E9BC0
tetradic
#C02E9B #C09C2E #2EC053 #2E52C0
square
#C02E9B #C09C2E #2EC053 #2E52C0
split-complementary
#C02E9B #52C02E #2EC09C
monochromatic
#5D164B #8F2273 #C02E9B #D655B5 #E286CB

Accessibility & contrast

On white

5.12
#C02E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#C02E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02E9B
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02E9B#FFFFFF#000000##FFFFFF
##C02E9B1.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5F9E
Deuteranopia (green-blind)
#697698
Tritanopia (blue-blind)
#CC3262
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c02e9b;
/* rgb */ color: rgb(192, 46, 155);
/* oklch */ color: oklch(56.5% 0.211 340.4);
Tailwind
colors: {
  custom: {
    50: '#d776b8',
    500: '#c02e9b',
    950: '#000000',
  },
}
SCSS
$custom: #c02e9b;
$custom-light: #d776b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c02e9b",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 315.205,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56549,
    "c": 0.21073,
    "h": 340.4
  },
  "luminance": 0.15527
}

Semantic roles & 50–950 ramp

primary
#C02E9B
secondary
#7ECC92
accent
#E46C43
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C02E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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