#C12EAB#C12EAB

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

Color values

HEX#C12EAB
RGBrgb(193, 46, 171)
HSLhsl(309, 62%, 47%)
HSVhsv(309, 76%, 76%)
CMYKcmyk(0%, 76.2%, 11.4%, 24.3%)
CIE-LABlab(47.28, 68.88, -34.20)
CIE-LCHlch(47.28, 76.90, 333.59°)
OKLaboklab(57.5% 0.2011 -0.0935)
OKLCHoklch(57.5% 0.222 335.1)
XYZxyz(30.3204, 16.2345, 40.0569)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12EAB #2EC144
analogous
#8E2EC1 #C12EAB #C12E61
triadic
#C12EAB #ABC12E #2EABC1
tetradic
#C12EAB #C18E2E #2EC144 #2E61C1
square
#C12EAB #C18E2E #2EC144 #2E61C1
split-complementary
#C12EAB #61C12E #2EC18E
monochromatic
#5E1653 #90227F #C12EAB #D756C3 #E287D5

Accessibility & contrast

On white

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

On black

4.25
#C12EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C12EAB#FFFFFF#000000##FFFFFF
##C12EAB1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D62AE
Deuteranopia (green-blind)
#6478A8
Tritanopia (blue-blind)
#CB3B6A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c12eab;
/* rgb */ color: rgb(193, 46, 171);
/* oklch */ color: oklch(57.5% 0.222 335.1);
Tailwind
colors: {
  custom: {
    50: '#d877c4',
    500: '#c12eab',
    950: '#000000',
  },
}
SCSS
$custom: #c12eab;
$custom-light: #d877c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c12eab",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 308.98,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57496,
    "c": 0.22181,
    "h": 335.1
  },
  "luminance": 0.16232
}

Semantic roles & 50–950 ramp

primary
#C12EAB
secondary
#7FCC8A
accent
#E55B43
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C12EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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