#C12DA0#C12DA0

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

Color values

HEX#C12DA0
RGBrgb(193, 45, 160)
HSLhsl(313, 62%, 47%)
HSVhsv(313, 77%, 76%)
CMYKcmyk(0%, 76.7%, 17.1%, 24.3%)
CIE-LABlab(46.65, 67.62, -28.66)
CIE-LCHlch(46.65, 73.44, 337.03°)
OKLaboklab(56.87% 0.201 -0.0777)
OKLCHoklch(56.87% 0.215 338.9)
XYZxyz(29.2766, 15.7552, 34.7501)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12DA0 #2DC14E
analogous
#982DC1 #C12DA0 #C12D56
triadic
#C12DA0 #A0C12D #2DA0C1
tetradic
#C12DA0 #C1982D #2DC14E #2D56C1
square
#C12DA0 #C1982D #2DC14E #2D56C1
split-complementary
#C12DA0 #56C12D #2DC198
monochromatic
#5E164E #8F2177 #C12DA0 #D754BA #E386CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C12DA0#FFFFFF#000000##FFFFFF
##C12DA01.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)
#3660A3
Deuteranopia (green-blind)
#68779D
Tritanopia (blue-blind)
#CC3464
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c12da0;
/* rgb */ color: rgb(193, 45, 160);
/* oklch */ color: oklch(56.9% 0.215 338.9);
Tailwind
colors: {
  custom: {
    50: '#d876bc',
    500: '#c12da0',
    950: '#000000',
  },
}
SCSS
$custom: #c12da0;
$custom-light: #d876bc;
$custom-dark: #000000;
JSON
{
  "hex": "#c12da0",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 313.378,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56872,
    "c": 0.21548,
    "h": 338.9
  },
  "luminance": 0.15752
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C12DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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