#C02CAD#C02CAD

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

Color values

HEX#C02CAD
RGBrgb(192, 44, 173)
HSLhsl(308, 63%, 46%)
HSVhsv(308, 77%, 75%)
CMYKcmyk(0%, 77.1%, 9.9%, 24.7%)
CIE-LABlab(47.01, 69.52, -35.82)
CIE-LCHlch(47.01, 78.21, 332.74°)
OKLaboklab(57.3% 0.202 -0.0982)
OKLCHoklch(57.3% 0.225 334.1)
XYZxyz(30.1820, 16.0276, 41.0311)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02CAD #2CC03F
analogous
#892CC0 #C02CAD #C02C63
triadic
#C02CAD #ADC02C #2CADC0
tetradic
#C02CAD #C0892C #2CC03F #2C63C0
square
#C02CAD #C0892C #2CC03F #2C63C0
split-complementary
#C02CAD #63C02C #2CC089
monochromatic
#5C1553 #8E2180 #C02CAD #D752C6 #E384D7

Accessibility & contrast

On white

4.99
#C02CAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02CAD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02CAD#FFFFFF#000000##FFFFFF
##C02CAD1.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2862B0
Deuteranopia (green-blind)
#6177AA
Tritanopia (blue-blind)
#C93B6B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c02cad;
/* rgb */ color: rgb(192, 44, 173);
/* oklch */ color: oklch(57.3% 0.225 334.1);
Tailwind
colors: {
  custom: {
    50: '#d776c6',
    500: '#c02cad',
    950: '#000000',
  },
}
SCSS
$custom: #c02cad;
$custom-light: #d776c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c02cad",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 307.703,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57303,
    "c": 0.22457,
    "h": 334.1
  },
  "luminance": 0.16025
}

Semantic roles & 50–950 ramp

primary
#C02CAD
secondary
#7CCC86
accent
#E65742
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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