#C12CBD#C12CBD

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

Color values

HEX#C12CBD
RGBrgb(193, 44, 189)
HSLhsl(302, 63%, 46%)
HSVhsv(302, 77%, 76%)
CMYKcmyk(0%, 77.2%, 2.1%, 24.3%)
CIE-LABlab(48.03, 72.14, -43.59)
CIE-LCHlch(48.03, 84.29, 328.86°)
OKLaboklab(58.34% 0.2032 -0.1206)
OKLCHoklch(58.34% 0.236 329.3)
XYZxyz(32.0781, 16.8154, 49.6904)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CBD #2CC130
analogous
#7B2CC1 #C12CBD #C12C73
triadic
#C12CBD #BDC12C #2CBDC1
tetradic
#C12CBD #C17B2C #2CC130 #2C73C1
square
#C12CBD #C17B2C #2CC130 #2C73C1
split-complementary
#C12CBD #73C12C #2CC17B
monochromatic
#5D155B #8F218C #C12CBD #D853D4 #E384E0

Accessibility & contrast

On white

4.81
#C12CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12CBD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12CBD#FFFFFF#000000##FFFFFF
##C12CBD1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B65C1
Deuteranopia (green-blind)
#5A79B9
Tritanopia (blue-blind)
#C84374
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c12cbd;
/* rgb */ color: rgb(193, 44, 189);
/* oklch */ color: oklch(58.3% 0.236 329.3);
Tailwind
colors: {
  custom: {
    50: '#d877d1',
    500: '#c12cbd',
    950: '#000000',
  },
}
SCSS
$custom: #c12cbd;
$custom-light: #d877d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c12cbd",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 301.611,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58335,
    "c": 0.23634,
    "h": 329.3
  },
  "luminance": 0.16813
}

Semantic roles & 50–950 ramp

primary
#C12CBD
secondary
#7DCC7F
accent
#E64642
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C12CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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