#C02DA4#C02DA4

#C02DA4 is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.9% C 0.218 H 337.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C02DA4
RGBrgb(192, 45, 164)
HSLhsl(311, 62%, 46%)
HSVhsv(311, 77%, 75%)
CMYKcmyk(0%, 76.6%, 14.6%, 24.7%)
CIE-LABlab(46.67, 67.95, -31.03)
CIE-LCHlch(46.67, 74.70, 335.46°)
OKLaboklab(56.91% 0.2005 -0.0844)
OKLCHoklch(56.91% 0.218 337.2)
XYZxyz(29.3780, 15.7664, 36.6108)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02DA4 #2DC049
analogous
#932DC0 #C02DA4 #C02D5A
triadic
#C02DA4 #A4C02D #2DA4C0
tetradic
#C02DA4 #C0932D #2DC049 #2D5AC0
square
#C02DA4 #C0932D #2DC049 #2D5AC0
split-complementary
#C02DA4 #5AC02D #2DC093
monochromatic
#5D164F #8E217A #C02DA4 #D753BE #E285D1

Accessibility & contrast

On white

5.06
#C02DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#C02DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02DA4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02DA4#FFFFFF#000000##FFFFFF
##C02DA41.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A7
Deuteranopia (green-blind)
#6677A1
Tritanopia (blue-blind)
#CA3766
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c02da4;
/* rgb */ color: rgb(192, 45, 164);
/* oklch */ color: oklch(56.9% 0.218 337.2);
Tailwind
colors: {
  custom: {
    50: '#d776bf',
    500: '#c02da4',
    950: '#000000',
  },
}
SCSS
$custom: #c02da4;
$custom-light: #d776bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c02da4",
  "rgb": {
    "r": 192,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 311.429,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56912,
    "c": 0.21754,
    "h": 337.2
  },
  "luminance": 0.15764
}

Semantic roles & 50–950 ramp

primary
#C02DA4
secondary
#7DCC8C
accent
#E56243
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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