#C12E9E#C12E9E

#C12E9E is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.9% C 0.213 H 339.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C12E9E
RGBrgb(193, 46, 158)
HSLhsl(314, 62%, 47%)
HSVhsv(314, 76%, 76%)
CMYKcmyk(0%, 76.2%, 18.1%, 24.3%)
CIE-LABlab(46.66, 67.06, -27.45)
CIE-LCHlch(46.66, 72.46, 337.74°)
OKLaboklab(56.85% 0.1999 -0.0742)
OKLCHoklch(56.85% 0.213 339.6)
XYZxyz(29.1417, 15.7630, 33.8489)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12E9E #2EC151
analogous
#9B2EC1 #C12E9E #C12E54
triadic
#C12E9E #9EC12E #2E9EC1
tetradic
#C12E9E #C19B2E #2EC151 #2E54C1
square
#C12E9E #C19B2E #2EC151 #2E54C1
split-complementary
#C12E9E #54C12E #2EC19B
monochromatic
#5E164D #902276 #C12E9E #D756B8 #E287CD

Accessibility & contrast

On white

5.06
#C12E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#C12E9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12E9E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12E9E#FFFFFF#000000##FFFFFF
##C12E9E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3860A1
Deuteranopia (green-blind)
#69779B
Tritanopia (blue-blind)
#CC3463
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c12e9e;
/* rgb */ color: rgb(193, 46, 158);
/* oklch */ color: oklch(56.9% 0.213 339.6);
Tailwind
colors: {
  custom: {
    50: '#d876bb',
    500: '#c12e9e',
    950: '#000000',
  },
}
SCSS
$custom: #c12e9e;
$custom-light: #d876bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c12e9e",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 314.286,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5685,
    "c": 0.21322,
    "h": 339.6
  },
  "luminance": 0.1576
}

Semantic roles & 50–950 ramp

primary
#C12E9E
secondary
#7FCC91
accent
#E56A43
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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