#C03CAB#C03CAB

#C03CAB is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.5% C 0.206 H 335.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C03CAB
RGBrgb(192, 60, 171)
HSLhsl(310, 52%, 49%)
HSVhsv(310, 69%, 75%)
CMYKcmyk(0%, 68.7%, 10.9%, 24.7%)
CIE-LABlab(48.74, 64.04, -31.93)
CIE-LCHlch(48.74, 71.56, 333.50°)
OKLaboklab(58.51% 0.1865 -0.0871)
OKLCHoklch(58.51% 0.206 335)
XYZxyz(30.7051, 17.3811, 40.2579)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03CAB #3CC051
analogous
#933CC0 #C03CAB #C03C69
triadic
#C03CAB #ABC03C #3CABC0
tetradic
#C03CAB #C0933C #3CC051 #3C69C0
square
#C03CAB #C0933C #3CC051 #3C69C0
split-complementary
#C03CAB #69C03C #3CC093
monochromatic
#631F58 #912D81 #C03CAB #D069C0 #DF98D3

Accessibility & contrast

On white

4.69
#C03CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#C03CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03CAB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03CAB#FFFFFF#000000##FFFFFF
##C03CAB1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AE
Deuteranopia (green-blind)
#687BA8
Tritanopia (blue-blind)
#C9466F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c03cab;
/* rgb */ color: rgb(192, 60, 171);
/* oklch */ color: oklch(58.5% 0.206 335.0);
Tailwind
colors: {
  custom: {
    50: '#d77dc4',
    500: '#c03cab',
    950: '#000000',
  },
}
SCSS
$custom: #c03cab;
$custom-light: #d77dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#c03cab",
  "rgb": {
    "r": 192,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 309.545,
    "s": 52.381,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58515,
    "c": 0.20588,
    "h": 335
  },
  "luminance": 0.17378
}

Semantic roles & 50–950 ramp

primary
#C03CAB
secondary
#8DCA97
accent
#DC634C
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C03CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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