#C02E9D#C02E9D

#C02E9D is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.6% C 0.212 H 339.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C02E9D
RGBrgb(192, 46, 157)
HSLhsl(314, 61%, 47%)
HSVhsv(314, 76%, 75%)
CMYKcmyk(0%, 76%, 18.2%, 24.7%)
CIE-LABlab(46.44, 66.69, -27.21)
CIE-LCHlch(46.44, 72.03, 337.81°)
OKLaboklab(56.64% 0.1988 -0.0736)
OKLCHoklch(56.64% 0.212 339.7)
XYZxyz(28.8018, 15.5976, 33.3856)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02E9D #2EC051
analogous
#9A2EC0 #C02E9D #C02E54
triadic
#C02E9D #9DC02E #2E9DC0
tetradic
#C02E9D #C09A2E #2EC051 #2E54C0
square
#C02E9D #C09A2E #2EC051 #2E54C0
split-complementary
#C02E9D #54C02E #2EC09A
monochromatic
#5D164C #8F2275 #C02E9D #D655B7 #E286CC

Accessibility & contrast

On white

5.10
#C02E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#C02E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02E9D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02E9D#FFFFFF#000000##FFFFFF
##C02E9D1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385FA0
Deuteranopia (green-blind)
#69769A
Tritanopia (blue-blind)
#CB3463
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c02e9d;
/* rgb */ color: rgb(192, 46, 157);
/* oklch */ color: oklch(56.6% 0.212 339.7);
Tailwind
colors: {
  custom: {
    50: '#d776ba',
    500: '#c02e9d',
    950: '#000000',
  },
}
SCSS
$custom: #c02e9d;
$custom-light: #d776ba;
$custom-dark: #000000;
JSON
{
  "hex": "#c02e9d",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 314.384,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56643,
    "c": 0.21199,
    "h": 339.7
  },
  "luminance": 0.15595
}

Semantic roles & 50–950 ramp

primary
#C02E9D
secondary
#7ECC91
accent
#E46A43
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C02E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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