#C02DA5#C02DA5

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

Color values

HEX#C02DA5
RGBrgb(192, 45, 165)
HSLhsl(311, 62%, 46%)
HSVhsv(311, 77%, 75%)
CMYKcmyk(0%, 76.6%, 14.1%, 24.7%)
CIE-LABlab(46.71, 68.09, -31.55)
CIE-LCHlch(46.71, 75.04, 335.14°)
OKLaboklab(56.96% 0.2006 -0.0859)
OKLCHoklch(56.96% 0.218 336.8)
XYZxyz(29.4687, 15.8026, 37.0882)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02DA5 #2DC048
analogous
#922DC0 #C02DA5 #C02D5C
triadic
#C02DA5 #A5C02D #2DA5C0
tetradic
#C02DA5 #C0922D #2DC048 #2D5CC0
square
#C02DA5 #C0922D #2DC048 #2D5CC0
split-complementary
#C02DA5 #5CC02D #2DC092
monochromatic
#5D1650 #8E217A #C02DA5 #D753BF #E285D1

Accessibility & contrast

On white

5.05
#C02DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#C02DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02DA5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02DA5#FFFFFF#000000##FFFFFF
##C02DA51.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3161A8
Deuteranopia (green-blind)
#6577A2
Tritanopia (blue-blind)
#CA3767
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c02da5;
/* rgb */ color: rgb(192, 45, 165);
/* oklch */ color: oklch(57.0% 0.218 336.8);
Tailwind
colors: {
  custom: {
    50: '#d776c0',
    500: '#c02da5',
    950: '#000000',
  },
}
SCSS
$custom: #c02da5;
$custom-light: #d776c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c02da5",
  "rgb": {
    "r": 192,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 311.02,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56962,
    "c": 0.2182,
    "h": 336.8
  },
  "luminance": 0.158
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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