#C12AAE#C12AAE

#C12AAE is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.4% C 0.228 H 334.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C12AAE
RGBrgb(193, 42, 174)
HSLhsl(308, 64%, 46%)
HSVhsv(308, 78%, 76%)
CMYKcmyk(0%, 78.2%, 9.8%, 24.3%)
CIE-LABlab(47.04, 70.43, -36.35)
CIE-LCHlch(47.04, 79.26, 332.70°)
OKLaboklab(57.38% 0.2046 -0.0997)
OKLCHoklch(57.38% 0.228 334)
XYZxyz(30.4606, 16.0521, 41.5303)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12AAE #2AC13D
analogous
#882AC1 #C12AAE #C12A62
triadic
#C12AAE #AEC12A #2AAEC1
tetradic
#C12AAE #C1882A #2AC13D #2A62C1
square
#C12AAE #C1882A #2AC13D #2A62C1
split-complementary
#C12AAE #62C12A #2AC188
monochromatic
#5C1453 #8F1F81 #C12AAE #D94FC8 #E482D7

Accessibility & contrast

On white

4.99
#C12AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#C12AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12AAE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12AAE#FFFFFF#000000##FFFFFF
##C12AAE1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B1
Deuteranopia (green-blind)
#6177AB
Tritanopia (blue-blind)
#CA3A6B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c12aae;
/* rgb */ color: rgb(193, 42, 174);
/* oklch */ color: oklch(57.4% 0.228 334.0);
Tailwind
colors: {
  custom: {
    50: '#d875c6',
    500: '#c12aae',
    950: '#000000',
  },
}
SCSS
$custom: #c12aae;
$custom-light: #d875c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c12aae",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 307.55,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57375,
    "c": 0.22758,
    "h": 334
  },
  "luminance": 0.16049
}

Semantic roles & 50–950 ramp

primary
#C12AAE
secondary
#7ACD85
accent
#E75641
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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