#C02DA6#C02DA6

#C02DA6 is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 57.0% C 0.219 H 336.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C02DA6
RGBrgb(192, 45, 166)
HSLhsl(311, 62%, 46%)
HSVhsv(311, 77%, 75%)
CMYKcmyk(0%, 76.6%, 13.5%, 24.7%)
CIE-LABlab(46.76, 68.23, -32.07)
CIE-LCHlch(46.76, 75.39, 334.83°)
OKLaboklab(57.01% 0.2007 -0.0874)
OKLCHoklch(57.01% 0.219 336.5)
XYZxyz(29.5601, 15.8392, 37.5695)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02DA6 #2DC047
analogous
#912DC0 #C02DA6 #C02D5D
triadic
#C02DA6 #A6C02D #2DA6C0
tetradic
#C02DA6 #C0912D #2DC047 #2D5DC0
square
#C02DA6 #C0912D #2DC047 #2D5DC0
split-complementary
#C02DA6 #5DC02D #2DC091
monochromatic
#5D1650 #8E217B #C02DA6 #D753C0 #E285D2

Accessibility & contrast

On white

5.04
#C02DA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#C02DA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02DA6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02DA6#FFFFFF#000000##FFFFFF
##C02DA61.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3061A9
Deuteranopia (green-blind)
#6577A3
Tritanopia (blue-blind)
#CA3867
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c02da6;
/* rgb */ color: rgb(192, 45, 166);
/* oklch */ color: oklch(57.0% 0.219 336.5);
Tailwind
colors: {
  custom: {
    50: '#d776c1',
    500: '#c02da6',
    950: '#000000',
  },
}
SCSS
$custom: #c02da6;
$custom-light: #d776c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c02da6",
  "rgb": {
    "r": 192,
    "g": 45,
    "b": 166
  },
  "hsl": {
    "h": 310.612,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57012,
    "c": 0.21887,
    "h": 336.5
  },
  "luminance": 0.15836
}

Semantic roles & 50–950 ramp

primary
#C02DA6
secondary
#7DCC8B
accent
#E55F43
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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