#C03BAB#C03BAB

#C03BAB is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.4% C 0.207 H 334.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C03BAB
RGBrgb(192, 59, 171)
HSLhsl(309, 53%, 49%)
HSVhsv(309, 69%, 75%)
CMYKcmyk(0%, 69.3%, 10.9%, 24.7%)
CIE-LABlab(48.61, 64.40, -32.13)
CIE-LCHlch(48.61, 71.98, 333.48°)
OKLaboklab(58.42% 0.1876 -0.0877)
OKLCHoklch(58.42% 0.207 334.9)
XYZxyz(30.6532, 17.2773, 40.2406)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03BAB #3BC050
analogous
#933BC0 #C03BAB #C03B68
triadic
#C03BAB #ABC03B #3BABC0
tetradic
#C03BAB #C0933B #3BC050 #3B68C0
square
#C03BAB #C0933B #3BC050 #3B68C0
split-complementary
#C03BAB #68C03B #3BC093
monochromatic
#621E58 #912D81 #C03BAB #D168C0 #DF97D3

Accessibility & contrast

On white

4.71
#C03BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C03BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03BAB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03BAB#FFFFFF#000000##FFFFFF
##C03BAB1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A67AE
Deuteranopia (green-blind)
#687BA8
Tritanopia (blue-blind)
#C9456E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c03bab;
/* rgb */ color: rgb(192, 59, 171);
/* oklch */ color: oklch(58.4% 0.207 334.9);
Tailwind
colors: {
  custom: {
    50: '#d77cc4',
    500: '#c03bab',
    950: '#000000',
  },
}
SCSS
$custom: #c03bab;
$custom-light: #d77cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#c03bab",
  "rgb": {
    "r": 192,
    "g": 59,
    "b": 171
  },
  "hsl": {
    "h": 309.474,
    "s": 52.988,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58421,
    "c": 0.2071,
    "h": 334.9
  },
  "luminance": 0.17275
}

Semantic roles & 50–950 ramp

primary
#C03BAB
secondary
#8CCA96
accent
#DC624B
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C03BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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