#C02BAD#C02BAD

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

Color values

HEX#C02BAD
RGBrgb(192, 43, 173)
HSLhsl(308, 63%, 46%)
HSVhsv(308, 78%, 75%)
CMYKcmyk(0%, 77.6%, 9.9%, 24.7%)
CIE-LABlab(46.91, 69.80, -35.97)
CIE-LCHlch(46.91, 78.52, 332.73°)
OKLaboklab(57.23% 0.2028 -0.0986)
OKLCHoklch(57.23% 0.225 334.1)
XYZxyz(30.1452, 15.9540, 41.0188)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BAD #2BC03E
analogous
#882BC0 #C02BAD #C02B62
triadic
#C02BAD #ADC02B #2BADC0
tetradic
#C02BAD #C0882B #2BC03E #2B62C0
square
#C02BAD #C0882B #2BC03E #2B62C0
split-complementary
#C02BAD #62C02B #2BC088
monochromatic
#5C1553 #8E2080 #C02BAD #D850C7 #E382D7

Accessibility & contrast

On white

5.01
#C02BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#C02BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02BAD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02BAD#FFFFFF#000000##FFFFFF
##C02BAD1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c02bad;
/* rgb */ color: rgb(192, 43, 173);
/* oklch */ color: oklch(57.2% 0.225 334.1);
Tailwind
colors: {
  custom: {
    50: '#d776c6',
    500: '#c02bad',
    950: '#000000',
  },
}
SCSS
$custom: #c02bad;
$custom-light: #d776c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c02bad",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 307.651,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57234,
    "c": 0.22549,
    "h": 334.1
  },
  "luminance": 0.15951
}

Semantic roles & 50–950 ramp

primary
#C02BAD
secondary
#7BCC85
accent
#E65641
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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