#C02DA7#C02DA7

#C02DA7 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 57.1% C 0.220 H 336.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C02DA7
RGBrgb(192, 45, 167)
HSLhsl(310, 62%, 46%)
HSVhsv(310, 77%, 75%)
CMYKcmyk(0%, 76.6%, 13%, 24.7%)
CIE-LABlab(46.81, 68.37, -32.58)
CIE-LCHlch(46.81, 75.74, 334.52°)
OKLaboklab(57.06% 0.2007 -0.0889)
OKLCHoklch(57.06% 0.22 336.1)
XYZxyz(29.6522, 15.8760, 38.0544)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02DA7 #2DC046
analogous
#902DC0 #C02DA7 #C02D5E
triadic
#C02DA7 #A7C02D #2DA7C0
tetradic
#C02DA7 #C0902D #2DC046 #2D5EC0
square
#C02DA7 #C0902D #2DC046 #2D5EC0
split-complementary
#C02DA7 #5EC02D #2DC090
monochromatic
#5D1651 #8E217C #C02DA7 #D753C0 #E285D3

Accessibility & contrast

On white

5.03
#C02DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02DA7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02DA7#FFFFFF#000000##FFFFFF
##C02DA71.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F61AA
Deuteranopia (green-blind)
#6477A4
Tritanopia (blue-blind)
#CA3868
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c02da7;
/* rgb */ color: rgb(192, 45, 167);
/* oklch */ color: oklch(57.1% 0.220 336.1);
Tailwind
colors: {
  custom: {
    50: '#d776c1',
    500: '#c02da7',
    950: '#000000',
  },
}
SCSS
$custom: #c02da7;
$custom-light: #d776c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c02da7",
  "rgb": {
    "r": 192,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 310.204,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57063,
    "c": 0.21954,
    "h": 336.1
  },
  "luminance": 0.15873
}

Semantic roles & 50–950 ramp

primary
#C02DA7
secondary
#7DCC8A
accent
#E55E43
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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