#C02CBB#C02CBB

#C02CBB is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.1% C 0.234 H 329.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C02CBB
RGBrgb(192, 44, 187)
HSLhsl(302, 63%, 46%)
HSVhsv(302, 77%, 75%)
CMYKcmyk(0%, 77.1%, 2.6%, 24.7%)
CIE-LABlab(47.75, 71.63, -42.87)
CIE-LCHlch(47.75, 83.48, 329.10°)
OKLaboklab(58.07% 0.2022 -0.1186)
OKLCHoklch(58.07% 0.234 329.6)
XYZxyz(31.6084, 16.5982, 48.5431)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02CBB #2CC031
analogous
#7B2CC0 #C02CBB #C02C71
triadic
#C02CBB #BBC02C #2CBBC0
tetradic
#C02CBB #C07B2C #2CC031 #2C71C0
square
#C02CBB #C07B2C #2CC031 #2C71C0
split-complementary
#C02CBB #71C02C #2CC07B
monochromatic
#5C155A #8E218B #C02CBB #D752D3 #E384E0

Accessibility & contrast

On white

4.86
#C02CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#C02CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02CBB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02CBB#FFFFFF#000000##FFFFFF
##C02CBB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1065BF
Deuteranopia (green-blind)
#5A78B7
Tritanopia (blue-blind)
#C74373
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02cbb;
/* rgb */ color: rgb(192, 44, 187);
/* oklch */ color: oklch(58.1% 0.234 329.6);
Tailwind
colors: {
  custom: {
    50: '#d777d0',
    500: '#c02cbb',
    950: '#000000',
  },
}
SCSS
$custom: #c02cbb;
$custom-light: #d777d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c02cbb",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 187
  },
  "hsl": {
    "h": 302.027,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5807,
    "c": 0.23444,
    "h": 329.6
  },
  "luminance": 0.16596
}

Semantic roles & 50–950 ramp

primary
#C02CBB
secondary
#7CCC7F
accent
#E64842
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C02CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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