#C02DA1#C02DA1

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

Color values

HEX#C02DA1
RGBrgb(192, 45, 161)
HSLhsl(313, 62%, 46%)
HSVhsv(313, 77%, 75%)
CMYKcmyk(0%, 76.6%, 16.1%, 24.7%)
CIE-LABlab(46.52, 67.53, -29.46)
CIE-LCHlch(46.52, 73.68, 336.43°)
OKLaboklab(56.76% 0.2002 -0.08)
OKLCHoklch(56.76% 0.216 338.2)
XYZxyz(29.1103, 15.6593, 35.2007)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02DA1 #2DC04C
analogous
#962DC0 #C02DA1 #C02D58
triadic
#C02DA1 #A1C02D #2DA1C0
tetradic
#C02DA1 #C0962D #2DC04C #2D58C0
square
#C02DA1 #C0962D #2DC04C #2D58C0
split-complementary
#C02DA1 #58C02D #2DC096
monochromatic
#5D164E #8E2177 #C02DA1 #D753BB #E285CF

Accessibility & contrast

On white

5.08
#C02DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#C02DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02DA1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02DA1#FFFFFF#000000##FFFFFF
##C02DA11.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A4
Deuteranopia (green-blind)
#67769E
Tritanopia (blue-blind)
#CB3565
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c02da1;
/* rgb */ color: rgb(192, 45, 161);
/* oklch */ color: oklch(56.8% 0.216 338.2);
Tailwind
colors: {
  custom: {
    50: '#d776bd',
    500: '#c02da1',
    950: '#000000',
  },
}
SCSS
$custom: #c02da1;
$custom-light: #d776bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c02da1",
  "rgb": {
    "r": 192,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 312.653,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56763,
    "c": 0.21557,
    "h": 338.2
  },
  "luminance": 0.15656
}

Semantic roles & 50–950 ramp

primary
#C02DA1
secondary
#7DCC8E
accent
#E56543
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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