#C02DA2#C02DA2

#C02DA2 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.8% C 0.216 H 337.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#C02DA2
RGBrgb(192, 45, 162)
HSLhsl(312, 62%, 46%)
HSVhsv(312, 77%, 75%)
CMYKcmyk(0%, 76.6%, 15.6%, 24.7%)
CIE-LABlab(46.57, 67.67, -29.99)
CIE-LCHlch(46.57, 74.02, 336.10°)
OKLaboklab(56.81% 0.2003 -0.0815)
OKLCHoklch(56.81% 0.216 337.9)
XYZxyz(29.1989, 15.6947, 35.6670)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02DA2 #2DC04B
analogous
#952DC0 #C02DA2 #C02D59
triadic
#C02DA2 #A2C02D #2DA2C0
tetradic
#C02DA2 #C0952D #2DC04B #2D59C0
square
#C02DA2 #C0952D #2DC04B #2D59C0
split-complementary
#C02DA2 #59C02D #2DC095
monochromatic
#5D164E #8E2178 #C02DA2 #D753BC #E285CF

Accessibility & contrast

On white

5.07
#C02DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#C02DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02DA2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02DA2#FFFFFF#000000##FFFFFF
##C02DA21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A5
Deuteranopia (green-blind)
#66769F
Tritanopia (blue-blind)
#CB3665
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c02da2;
/* rgb */ color: rgb(192, 45, 162);
/* oklch */ color: oklch(56.8% 0.216 337.9);
Tailwind
colors: {
  custom: {
    50: '#d776be',
    500: '#c02da2',
    950: '#000000',
  },
}
SCSS
$custom: #c02da2;
$custom-light: #d776be;
$custom-dark: #000000;
JSON
{
  "hex": "#c02da2",
  "rgb": {
    "r": 192,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 312.245,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56812,
    "c": 0.21622,
    "h": 337.9
  },
  "luminance": 0.15692
}

Semantic roles & 50–950 ramp

primary
#C02DA2
secondary
#7DCC8D
accent
#E56443
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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