#C12DA1#C12DA1

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

Color values

HEX#C12DA1
RGBrgb(193, 45, 161)
HSLhsl(313, 62%, 47%)
HSVhsv(313, 77%, 76%)
CMYKcmyk(0%, 76.7%, 16.6%, 24.3%)
CIE-LABlab(46.70, 67.76, -29.18)
CIE-LCHlch(46.70, 73.78, 336.70°)
OKLaboklab(56.92% 0.2011 -0.0792)
OKLCHoklch(56.92% 0.216 338.5)
XYZxyz(29.3644, 15.7903, 35.2127)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12DA1 #2DC14D
analogous
#972DC1 #C12DA1 #C12D57
triadic
#C12DA1 #A1C12D #2DA1C1
tetradic
#C12DA1 #C1972D #2DC14D #2D57C1
square
#C12DA1 #C1972D #2DC14D #2D57C1
split-complementary
#C12DA1 #57C12D #2DC197
monochromatic
#5E164E #8F2178 #C12DA1 #D754BB #E386CF

Accessibility & contrast

On white

5.05
#C12DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#C12DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12DA1
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12DA1#FFFFFF#000000##FFFFFF
##C12DA11.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A4
Deuteranopia (green-blind)
#68779E
Tritanopia (blue-blind)
#CC3565
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c12da1;
/* rgb */ color: rgb(193, 45, 161);
/* oklch */ color: oklch(56.9% 0.216 338.5);
Tailwind
colors: {
  custom: {
    50: '#d876bd',
    500: '#c12da1',
    950: '#000000',
  },
}
SCSS
$custom: #c12da1;
$custom-light: #d876bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c12da1",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 312.973,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56921,
    "c": 0.21613,
    "h": 338.5
  },
  "luminance": 0.15787
}

Semantic roles & 50–950 ramp

primary
#C12DA1
secondary
#7ECC8F
accent
#E56643
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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