#C02CAC#C02CAC

#C02CAC is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.3% C 0.224 H 334.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C02CAC
RGBrgb(192, 44, 172)
HSLhsl(308, 63%, 46%)
HSVhsv(308, 77%, 75%)
CMYKcmyk(0%, 77.1%, 10.4%, 24.7%)
CIE-LABlab(46.96, 69.38, -35.31)
CIE-LCHlch(46.96, 77.84, 333.03°)
OKLaboklab(57.25% 0.2019 -0.0967)
OKLCHoklch(57.25% 0.224 334.4)
XYZxyz(30.0856, 15.9891, 40.5234)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02CAC #2CC040
analogous
#8A2CC0 #C02CAC #C02C62
triadic
#C02CAC #ACC02C #2CACC0
tetradic
#C02CAC #C08A2C #2CC040 #2C62C0
square
#C02CAC #C08A2C #2CC040 #2C62C0
split-complementary
#C02CAC #62C02C #2CC08A
monochromatic
#5C1553 #8E217F #C02CAC #D752C5 #E384D6

Accessibility & contrast

On white

5.00
#C02CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#C02CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02CAC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02CAC#FFFFFF#000000##FFFFFF
##C02CAC1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2962AF
Deuteranopia (green-blind)
#6277A9
Tritanopia (blue-blind)
#C93A6A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c02cac;
/* rgb */ color: rgb(192, 44, 172);
/* oklch */ color: oklch(57.3% 0.224 334.4);
Tailwind
colors: {
  custom: {
    50: '#d776c5',
    500: '#c02cac',
    950: '#000000',
  },
}
SCSS
$custom: #c02cac;
$custom-light: #d776c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c02cac",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 308.108,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5725,
    "c": 0.22388,
    "h": 334.4
  },
  "luminance": 0.15986
}

Semantic roles & 50–950 ramp

primary
#C02CAC
secondary
#7CCC87
accent
#E65842
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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