#C12D9A#C12D9A

#C12D9A is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.6% C 0.212 H 341.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C12D9A
RGBrgb(193, 45, 154)
HSLhsl(316, 62%, 47%)
HSVhsv(316, 77%, 76%)
CMYKcmyk(0%, 76.7%, 20.2%, 24.3%)
CIE-LABlab(46.38, 66.82, -25.49)
CIE-LCHlch(46.38, 71.52, 339.12°)
OKLaboklab(56.59% 0.2002 -0.0687)
OKLCHoklch(56.59% 0.212 341.1)
XYZxyz(28.7644, 15.5503, 32.0522)
Luminance0.1555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D9A #2DC154
analogous
#9E2DC1 #C12D9A #C12D50
triadic
#C12D9A #9AC12D #2D9AC1
tetradic
#C12D9A #C19E2D #2DC154 #2D50C1
square
#C12D9A #C19E2D #2DC154 #2D50C1
split-complementary
#C12D9A #50C12D #2DC19E
monochromatic
#5E164B #8F2172 #C12D9A #D754B5 #E386CA

Accessibility & contrast

On white

5.11
#C12D9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#C12D9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12D9A
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D9A#FFFFFF#000000##FFFFFF
##C12D9A1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5F9D
Deuteranopia (green-blind)
#6A7697
Tritanopia (blue-blind)
#CD3161
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12d9a;
/* rgb */ color: rgb(193, 45, 154);
/* oklch */ color: oklch(56.6% 0.212 341.1);
Tailwind
colors: {
  custom: {
    50: '#d876b8',
    500: '#c12d9a',
    950: '#000000',
  },
}
SCSS
$custom: #c12d9a;
$custom-light: #d876b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d9a",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 315.811,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56586,
    "c": 0.21169,
    "h": 341.1
  },
  "luminance": 0.15547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C12D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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