#C12EA7#C12EA7

#C12EA7 is a mid, highly saturated pink. Relative luminance 0.161; OKLCH L 57.3% C 0.219 H 336.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C12EA7
RGBrgb(193, 46, 167)
HSLhsl(311, 62%, 47%)
HSVhsv(311, 76%, 76%)
CMYKcmyk(0%, 76.2%, 13.5%, 24.3%)
CIE-LABlab(47.08, 68.31, -32.14)
CIE-LCHlch(47.08, 75.49, 334.80°)
OKLaboklab(57.29% 0.2008 -0.0876)
OKLCHoklch(57.29% 0.219 336.4)
XYZxyz(29.9449, 16.0843, 38.0792)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12EA7 #2EC148
analogous
#922EC1 #C12EA7 #C12E5E
triadic
#C12EA7 #A7C12E #2EA7C1
tetradic
#C12EA7 #C1922E #2EC148 #2E5EC1
square
#C12EA7 #C1922E #2EC148 #2E5EC1
split-complementary
#C12EA7 #5EC12E #2EC192
monochromatic
#5E1651 #90227C #C12EA7 #D756C0 #E287D2

Accessibility & contrast

On white

4.98
#C12EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12EA7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12EA7#FFFFFF#000000##FFFFFF
##C12EA71.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AA
Deuteranopia (green-blind)
#6577A4
Tritanopia (blue-blind)
#CB3968
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c12ea7;
/* rgb */ color: rgb(193, 46, 167);
/* oklch */ color: oklch(57.3% 0.219 336.4);
Tailwind
colors: {
  custom: {
    50: '#d877c1',
    500: '#c12ea7',
    950: '#000000',
  },
}
SCSS
$custom: #c12ea7;
$custom-light: #d877c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c12ea7",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 310.612,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57292,
    "c": 0.2191,
    "h": 336.4
  },
  "luminance": 0.16081
}

Semantic roles & 50–950 ramp

primary
#C12EA7
secondary
#7FCC8C
accent
#E56043
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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