#C12CAE#C12CAE

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

Color values

HEX#C12CAE
RGBrgb(193, 44, 174)
HSLhsl(308, 63%, 46%)
HSVhsv(308, 77%, 76%)
CMYKcmyk(0%, 77.2%, 9.8%, 24.3%)
CIE-LABlab(47.23, 69.88, -36.05)
CIE-LCHlch(47.23, 78.63, 332.71°)
OKLaboklab(57.51% 0.203 -0.0988)
OKLCHoklch(57.51% 0.226 334)
XYZxyz(30.5333, 16.1975, 41.5545)
Luminance0.1620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CAE #2CC13F
analogous
#8A2CC1 #C12CAE #C12C64
triadic
#C12CAE #AEC12C #2CAEC1
tetradic
#C12CAE #C18A2C #2CC13F #2C64C1
square
#C12CAE #C18A2C #2CC13F #2C64C1
split-complementary
#C12CAE #64C12C #2CC18A
monochromatic
#5D1554 #8F2181 #C12CAE #D853C7 #E384D7

Accessibility & contrast

On white

4.95
#C12CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#C12CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12CAE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12CAE#FFFFFF#000000##FFFFFF
##C12CAE1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2862B1
Deuteranopia (green-blind)
#6278AB
Tritanopia (blue-blind)
#CA3B6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c12cae;
/* rgb */ color: rgb(193, 44, 174);
/* oklch */ color: oklch(57.5% 0.226 334.0);
Tailwind
colors: {
  custom: {
    50: '#d876c6',
    500: '#c12cae',
    950: '#000000',
  },
}
SCSS
$custom: #c12cae;
$custom-light: #d876c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c12cae",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 307.651,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5751,
    "c": 0.22576,
    "h": 334
  },
  "luminance": 0.16195
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C12CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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