#C02E9A#C02E9A

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

Color values

HEX#C02E9A
RGBrgb(192, 46, 154)
HSLhsl(316, 61%, 47%)
HSVhsv(316, 76%, 75%)
CMYKcmyk(0%, 76%, 19.8%, 24.7%)
CIE-LABlab(46.31, 66.29, -25.62)
CIE-LCHlch(46.31, 71.07, 338.87°)
OKLaboklab(56.5% 0.1984 -0.0691)
OKLCHoklch(56.5% 0.21 340.8)
XYZxyz(28.5488, 15.4965, 32.0532)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02E9A #2EC054
analogous
#9D2EC0 #C02E9A #C02E51
triadic
#C02E9A #9AC02E #2E9AC0
tetradic
#C02E9A #C09D2E #2EC054 #2E51C0
square
#C02E9A #C09D2E #2EC054 #2E51C0
split-complementary
#C02E9A #51C02E #2EC09D
monochromatic
#5D164B #8F2272 #C02E9A #D655B5 #E286CA

Accessibility & contrast

On white

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

On black

4.10
#C02E9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C02E9A#FFFFFF#000000##FFFFFF
##C02E9A1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5F9D
Deuteranopia (green-blind)
#6A7697
Tritanopia (blue-blind)
#CC3261
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c02e9a;
/* rgb */ color: rgb(192, 46, 154);
/* oklch */ color: oklch(56.5% 0.210 340.8);
Tailwind
colors: {
  custom: {
    50: '#d776b8',
    500: '#c02e9a',
    950: '#000000',
  },
}
SCSS
$custom: #c02e9a;
$custom-light: #d776b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c02e9a",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 315.616,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56502,
    "c": 0.2101,
    "h": 340.8
  },
  "luminance": 0.15494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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