#C02DA3#C02DA3

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

Color values

HEX#C02DA3
RGBrgb(192, 45, 163)
HSLhsl(312, 62%, 46%)
HSVhsv(312, 77%, 75%)
CMYKcmyk(0%, 76.6%, 15.1%, 24.7%)
CIE-LABlab(46.62, 67.81, -30.51)
CIE-LCHlch(46.62, 74.36, 335.78°)
OKLaboklab(56.86% 0.2004 -0.083)
OKLCHoklch(56.86% 0.217 337.5)
XYZxyz(29.2881, 15.7304, 36.1370)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02DA3 #2DC04A
analogous
#942DC0 #C02DA3 #C02D5A
triadic
#C02DA3 #A3C02D #2DA3C0
tetradic
#C02DA3 #C0942D #2DC04A #2D5AC0
square
#C02DA3 #C0942D #2DC04A #2D5AC0
split-complementary
#C02DA3 #5AC02D #2DC094
monochromatic
#5D164F #8E2179 #C02DA3 #D753BD #E285D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02DA3#FFFFFF#000000##FFFFFF
##C02DA31.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A6
Deuteranopia (green-blind)
#6676A0
Tritanopia (blue-blind)
#CB3666
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c02da3;
/* rgb */ color: rgb(192, 45, 163);
/* oklch */ color: oklch(56.9% 0.217 337.5);
Tailwind
colors: {
  custom: {
    50: '#d776be',
    500: '#c02da3',
    950: '#000000',
  },
}
SCSS
$custom: #c02da3;
$custom-light: #d776be;
$custom-dark: #000000;
JSON
{
  "hex": "#c02da3",
  "rgb": {
    "r": 192,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 311.837,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56862,
    "c": 0.21687,
    "h": 337.5
  },
  "luminance": 0.15728
}

Semantic roles & 50–950 ramp

primary
#C02DA3
secondary
#7DCC8D
accent
#E56343
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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