#C03BAC#C03BAC

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

Color values

HEX#C03BAC
RGBrgb(192, 59, 172)
HSLhsl(309, 53%, 49%)
HSVhsv(309, 69%, 75%)
CMYKcmyk(0%, 69.3%, 10.4%, 24.7%)
CIE-LABlab(48.66, 64.56, -32.65)
CIE-LCHlch(48.66, 72.34, 333.17°)
OKLaboklab(58.47% 0.1877 -0.0892)
OKLCHoklch(58.47% 0.208 334.6)
XYZxyz(30.7489, 17.3156, 40.7445)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03BAC #3BC04F
analogous
#923BC0 #C03BAC #C03B69
triadic
#C03BAC #ACC03B #3BACC0
tetradic
#C03BAC #C0923B #3BC04F #3B69C0
square
#C03BAC #C0923B #3BC04F #3B69C0
split-complementary
#C03BAC #69C03B #3BC092
monochromatic
#621E58 #912D82 #C03BAC #D168C1 #DF97D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C03BAC#FFFFFF#000000##FFFFFF
##C03BAC1.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)
#3A67AF
Deuteranopia (green-blind)
#687BA9
Tritanopia (blue-blind)
#C9456F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c03bac;
/* rgb */ color: rgb(192, 59, 172);
/* oklch */ color: oklch(58.5% 0.208 334.6);
Tailwind
colors: {
  custom: {
    50: '#d77cc5',
    500: '#c03bac',
    950: '#000000',
  },
}
SCSS
$custom: #c03bac;
$custom-light: #d77cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#c03bac",
  "rgb": {
    "r": 192,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 309.023,
    "s": 52.988,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58471,
    "c": 0.20781,
    "h": 334.6
  },
  "luminance": 0.17313
}

Semantic roles & 50–950 ramp

primary
#C03BAC
secondary
#8CCA96
accent
#DC614B
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C03BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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