#C12D99#C12D99

#C12D99 is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.5% C 0.211 H 341.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C12D99
RGBrgb(193, 45, 153)
HSLhsl(316, 62%, 47%)
HSVhsv(316, 77%, 76%)
CMYKcmyk(0%, 76.7%, 20.7%, 24.3%)
CIE-LABlab(46.33, 66.69, -24.96)
CIE-LCHlch(46.33, 71.21, 339.48°)
OKLaboklab(56.54% 0.2001 -0.0672)
OKLCHoklch(56.54% 0.211 341.4)
XYZxyz(28.6814, 15.5171, 31.6154)
Luminance0.1551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D99 #2DC155
analogous
#9F2DC1 #C12D99 #C12D4F
triadic
#C12D99 #99C12D #2D99C1
tetradic
#C12D99 #C19F2D #2DC155 #2D4FC1
square
#C12D99 #C19F2D #2DC155 #2D4FC1
split-complementary
#C12D99 #4FC12D #2DC19F
monochromatic
#5E164A #8F2172 #C12D99 #D754B4 #E386CA

Accessibility & contrast

On white

5.12
#C12D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#C12D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12D99
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D99#FFFFFF#000000##FFFFFF
##C12D991.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5F9C
Deuteranopia (green-blind)
#6B7696
Tritanopia (blue-blind)
#CD3060
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c12d99;
/* rgb */ color: rgb(193, 45, 153);
/* oklch */ color: oklch(56.5% 0.211 341.4);
Tailwind
colors: {
  custom: {
    50: '#d876b7',
    500: '#c12d99',
    950: '#000000',
  },
}
SCSS
$custom: #c12d99;
$custom-light: #d876b7;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d99",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 316.216,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5654,
    "c": 0.21108,
    "h": 341.4
  },
  "luminance": 0.15514
}

Semantic roles & 50–950 ramp

primary
#C12D99
secondary
#7ECC93
accent
#E56F43
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C12D99

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

Preview Lab → · Contrast checker → · Palette generator →

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