#C12CAD#C12CAD

#C12CAD is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.5% C 0.225 H 334.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C12CAD
RGBrgb(193, 44, 173)
HSLhsl(308, 63%, 46%)
HSVhsv(308, 77%, 76%)
CMYKcmyk(0%, 77.2%, 10.4%, 24.3%)
CIE-LABlab(47.18, 69.74, -35.54)
CIE-LCHlch(47.18, 78.27, 333.00°)
OKLaboklab(57.46% 0.2029 -0.0974)
OKLCHoklch(57.46% 0.225 334.4)
XYZxyz(30.4362, 16.1587, 41.0430)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CAD #2CC140
analogous
#8B2CC1 #C12CAD #C12C63
triadic
#C12CAD #ADC12C #2CADC1
tetradic
#C12CAD #C18B2C #2CC140 #2C63C1
square
#C12CAD #C18B2C #2CC140 #2C63C1
split-complementary
#C12CAD #63C12C #2CC18B
monochromatic
#5D1554 #8F2180 #C12CAD #D853C6 #E384D6

Accessibility & contrast

On white

4.96
#C12CAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#C12CAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12CAD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12CAD#FFFFFF#000000##FFFFFF
##C12CAD1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2962B0
Deuteranopia (green-blind)
#6277AA
Tritanopia (blue-blind)
#CA3B6B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c12cad;
/* rgb */ color: rgb(193, 44, 173);
/* oklch */ color: oklch(57.5% 0.225 334.4);
Tailwind
colors: {
  custom: {
    50: '#d876c6',
    500: '#c12cad',
    950: '#000000',
  },
}
SCSS
$custom: #c12cad;
$custom-light: #d876c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c12cad",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 308.054,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57458,
    "c": 0.22508,
    "h": 334.4
  },
  "luminance": 0.16156
}

Semantic roles & 50–950 ramp

primary
#C12CAD
secondary
#7DCC87
accent
#E65842
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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