#C12E9B#C12E9B

#C12E9B is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.7% C 0.211 H 340.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C12E9B
RGBrgb(193, 46, 155)
HSLhsl(316, 62%, 47%)
HSVhsv(316, 76%, 76%)
CMYKcmyk(0%, 76.2%, 19.7%, 24.3%)
CIE-LABlab(46.53, 66.66, -25.86)
CIE-LCHlch(46.53, 71.50, 338.79°)
OKLaboklab(56.71% 0.1995 -0.0697)
OKLCHoklch(56.71% 0.211 340.7)
XYZxyz(28.8866, 15.6609, 32.5056)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12E9B #2EC154
analogous
#9E2EC1 #C12E9B #C12E52
triadic
#C12E9B #9BC12E #2E9BC1
tetradic
#C12E9B #C19E2E #2EC154 #2E52C1
square
#C12E9B #C19E2E #2EC154 #2E52C1
split-complementary
#C12E9B #52C12E #2EC19E
monochromatic
#5E164C #902273 #C12E9B #D756B5 #E287CB

Accessibility & contrast

On white

5.08
#C12E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#C12E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12E9B
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12E9B#FFFFFF#000000##FFFFFF
##C12E9B1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5F9E
Deuteranopia (green-blind)
#6A7798
Tritanopia (blue-blind)
#CD3262
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12e9b;
/* rgb */ color: rgb(193, 46, 155);
/* oklch */ color: oklch(56.7% 0.211 340.7);
Tailwind
colors: {
  custom: {
    50: '#d876b8',
    500: '#c12e9b',
    950: '#000000',
  },
}
SCSS
$custom: #c12e9b;
$custom-light: #d876b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c12e9b",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 315.51,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56708,
    "c": 0.21132,
    "h": 340.7
  },
  "luminance": 0.15658
}

Semantic roles & 50–950 ramp

primary
#C12E9B
secondary
#7FCC93
accent
#E56D43
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C12E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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