#C02CA3#C02CA3

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

Color values

HEX#C02CA3
RGBrgb(192, 44, 163)
HSLhsl(312, 63%, 46%)
HSVhsv(312, 77%, 75%)
CMYKcmyk(0%, 77.1%, 15.1%, 24.7%)
CIE-LABlab(46.52, 68.10, -30.66)
CIE-LCHlch(46.52, 74.68, 335.76°)
OKLaboklab(56.79% 0.2012 -0.0834)
OKLCHoklch(56.79% 0.218 337.5)
XYZxyz(29.2504, 15.6550, 36.1245)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02CA3 #2CC049
analogous
#932CC0 #C02CA3 #C02C59
triadic
#C02CA3 #A3C02C #2CA3C0
tetradic
#C02CA3 #C0932C #2CC049 #2C59C0
square
#C02CA3 #C0932C #2CC049 #2C59C0
split-complementary
#C02CA3 #59C02C #2CC093
monochromatic
#5C154E #8E2179 #C02CA3 #D752BD #E384D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02CA3#FFFFFF#000000##FFFFFF
##C02CA31.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)
#3260A6
Deuteranopia (green-blind)
#6676A0
Tritanopia (blue-blind)
#CB3565
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c02ca3;
/* rgb */ color: rgb(192, 44, 163);
/* oklch */ color: oklch(56.8% 0.218 337.5);
Tailwind
colors: {
  custom: {
    50: '#d776be',
    500: '#c02ca3',
    950: '#000000',
  },
}
SCSS
$custom: #c02ca3;
$custom-light: #d776be;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ca3",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 311.757,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5679,
    "c": 0.21784,
    "h": 337.5
  },
  "luminance": 0.15652
}

Semantic roles & 50–950 ramp

primary
#C02CA3
secondary
#7CCC8C
accent
#E66242
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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