#C02CA7#C02CA7

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

Color values

HEX#C02CA7
RGBrgb(192, 44, 167)
HSLhsl(310, 63%, 46%)
HSVhsv(310, 77%, 75%)
CMYKcmyk(0%, 77.1%, 13%, 24.7%)
CIE-LABlab(46.71, 68.66, -32.74)
CIE-LCHlch(46.71, 76.06, 334.51°)
OKLaboklab(56.99% 0.2016 -0.0893)
OKLCHoklch(56.99% 0.22 336.1)
XYZxyz(29.6145, 15.8006, 38.0419)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02CA7 #2CC045
analogous
#8F2CC0 #C02CA7 #C02C5D
triadic
#C02CA7 #A7C02C #2CA7C0
tetradic
#C02CA7 #C08F2C #2CC045 #2C5DC0
square
#C02CA7 #C08F2C #2CC045 #2C5DC0
split-complementary
#C02CA7 #5DC02C #2CC08F
monochromatic
#5C1550 #8E217C #C02CA7 #D752C1 #E384D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02CA7#FFFFFF#000000##FFFFFF
##C02CA71.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)
#2E61AA
Deuteranopia (green-blind)
#6477A4
Tritanopia (blue-blind)
#CA3868
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c02ca7;
/* rgb */ color: rgb(192, 44, 167);
/* oklch */ color: oklch(57.0% 0.220 336.1);
Tailwind
colors: {
  custom: {
    50: '#d776c1',
    500: '#c02ca7',
    950: '#000000',
  },
}
SCSS
$custom: #c02ca7;
$custom-light: #d776c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ca7",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 310.135,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56991,
    "c": 0.22049,
    "h": 336.1
  },
  "luminance": 0.15798
}

Semantic roles & 50–950 ramp

primary
#C02CA7
secondary
#7CCC89
accent
#E65E42
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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