#C12CAC#C12CAC

#C12CAC is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.224 H 334.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C12CAC
RGBrgb(193, 44, 172)
HSLhsl(308, 63%, 46%)
HSVhsv(308, 77%, 76%)
CMYKcmyk(0%, 77.2%, 10.9%, 24.3%)
CIE-LABlab(47.13, 69.59, -35.03)
CIE-LCHlch(47.13, 77.91, 333.28°)
OKLaboklab(57.4% 0.2029 -0.0959)
OKLCHoklch(57.4% 0.224 334.7)
XYZxyz(30.3398, 16.1201, 40.5353)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CAC #2CC141
analogous
#8C2CC1 #C12CAC #C12C62
triadic
#C12CAC #ACC12C #2CACC1
tetradic
#C12CAC #C18C2C #2CC141 #2C62C1
square
#C12CAC #C18C2C #2CC141 #2C62C1
split-complementary
#C12CAC #62C12C #2CC18C
monochromatic
#5D1553 #8F2180 #C12CAC #D853C5 #E384D6

Accessibility & contrast

On white

4.97
#C12CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#C12CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12CAC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12CAC#FFFFFF#000000##FFFFFF
##C12CAC1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A62AF
Deuteranopia (green-blind)
#6377A9
Tritanopia (blue-blind)
#CA3A6A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c12cac;
/* rgb */ color: rgb(193, 44, 172);
/* oklch */ color: oklch(57.4% 0.224 334.7);
Tailwind
colors: {
  custom: {
    50: '#d876c5',
    500: '#c12cac',
    950: '#000000',
  },
}
SCSS
$custom: #c12cac;
$custom-light: #d876c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c12cac",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 308.456,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57405,
    "c": 0.2244,
    "h": 334.7
  },
  "luminance": 0.16117
}

Semantic roles & 50–950 ramp

primary
#C12CAC
secondary
#7DCC88
accent
#E65942
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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