#C12DBB#C12DBB

#C12DBB is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.3% C 0.234 H 329.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C12DBB
RGBrgb(193, 45, 187)
HSLhsl(302, 62%, 47%)
HSVhsv(302, 77%, 76%)
CMYKcmyk(0%, 76.7%, 3.1%, 24.3%)
CIE-LABlab(48.01, 71.56, -42.45)
CIE-LCHlch(48.01, 83.20, 329.32°)
OKLaboklab(58.29% 0.2025 -0.1173)
OKLCHoklch(58.29% 0.234 329.9)
XYZxyz(31.9002, 16.8046, 48.5676)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12DBB #2DC133
analogous
#7D2DC1 #C12DBB #C12D71
triadic
#C12DBB #BBC12D #2DBBC1
tetradic
#C12DBB #C17D2D #2DC133 #2D71C1
square
#C12DBB #C17D2D #2DC133 #2D71C1
split-complementary
#C12DBB #71C12D #2DC17D
monochromatic
#5E165B #8F218B #C12DBB #D754D2 #E386DF

Accessibility & contrast

On white

4.82
#C12DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C12DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12DBB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12DBB#FFFFFF#000000##FFFFFF
##C12DBB1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1465BF
Deuteranopia (green-blind)
#5B79B7
Tritanopia (blue-blind)
#C84373
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c12dbb;
/* rgb */ color: rgb(193, 45, 187);
/* oklch */ color: oklch(58.3% 0.234 329.9);
Tailwind
colors: {
  custom: {
    50: '#d877d0',
    500: '#c12dbb',
    950: '#000000',
  },
}
SCSS
$custom: #c12dbb;
$custom-light: #d877d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c12dbb",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 302.432,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.58289,
    "c": 0.23399,
    "h": 329.9
  },
  "luminance": 0.16802
}

Semantic roles & 50–950 ramp

primary
#C12DBB
secondary
#7ECC81
accent
#E54943
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C12DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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