#C02CA4#C02CA4

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

Color values

HEX#C02CA4
RGBrgb(192, 44, 164)
HSLhsl(311, 63%, 46%)
HSVhsv(311, 77%, 75%)
CMYKcmyk(0%, 77.1%, 14.6%, 24.7%)
CIE-LABlab(46.57, 68.24, -31.18)
CIE-LCHlch(46.57, 75.02, 335.44°)
OKLaboklab(56.84% 0.2013 -0.0849)
OKLCHoklch(56.84% 0.219 337.1)
XYZxyz(29.3403, 15.6910, 36.5982)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02CA4 #2CC048
analogous
#922CC0 #C02CA4 #C02C5A
triadic
#C02CA4 #A4C02C #2CA4C0
tetradic
#C02CA4 #C0922C #2CC048 #2C5AC0
square
#C02CA4 #C0922C #2CC048 #2C5AC0
split-complementary
#C02CA4 #5AC02C #2CC092
monochromatic
#5C154F #8E2179 #C02CA4 #D752BE #E384D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02CA4#FFFFFF#000000##FFFFFF
##C02CA41.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A7
Deuteranopia (green-blind)
#6576A1
Tritanopia (blue-blind)
#CA3666
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c02ca4;
/* rgb */ color: rgb(192, 44, 164);
/* oklch */ color: oklch(56.8% 0.218 337.1);
Tailwind
colors: {
  custom: {
    50: '#d776bf',
    500: '#c02ca4',
    950: '#000000',
  },
}
SCSS
$custom: #c02ca4;
$custom-light: #d776bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ca4",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 311.351,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5684,
    "c": 0.2185,
    "h": 337.1
  },
  "luminance": 0.15688
}

Semantic roles & 50–950 ramp

primary
#C02CA4
secondary
#7CCC8B
accent
#E66142
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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