#C12DA4#C12DA4

#C12DA4 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 57.1% C 0.218 H 337.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C12DA4
RGBrgb(193, 45, 164)
HSLhsl(312, 62%, 47%)
HSVhsv(312, 77%, 76%)
CMYKcmyk(0%, 76.7%, 15%, 24.3%)
CIE-LABlab(46.84, 68.18, -30.75)
CIE-LCHlch(46.84, 74.79, 335.73°)
OKLaboklab(57.07% 0.2014 -0.0836)
OKLCHoklch(57.07% 0.218 337.5)
XYZxyz(29.6322, 15.8974, 36.6227)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12DA4 #2DC14A
analogous
#942DC1 #C12DA4 #C12D5A
triadic
#C12DA4 #A4C12D #2DA4C1
tetradic
#C12DA4 #C1942D #2DC14A #2D5AC1
square
#C12DA4 #C1942D #2DC14A #2D5AC1
split-complementary
#C12DA4 #5AC12D #2DC194
monochromatic
#5E1650 #8F217A #C12DA4 #D754BD #E386D0

Accessibility & contrast

On white

5.03
#C12DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#C12DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12DA4
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12DA4#FFFFFF#000000##FFFFFF
##C12DA41.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3361A7
Deuteranopia (green-blind)
#6677A1
Tritanopia (blue-blind)
#CC3666
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c12da4;
/* rgb */ color: rgb(193, 45, 164);
/* oklch */ color: oklch(57.1% 0.218 337.5);
Tailwind
colors: {
  custom: {
    50: '#d876bf',
    500: '#c12da4',
    950: '#000000',
  },
}
SCSS
$custom: #c12da4;
$custom-light: #d876bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c12da4",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 311.757,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57069,
    "c": 0.21809,
    "h": 337.5
  },
  "luminance": 0.15895
}

Semantic roles & 50–950 ramp

primary
#C12DA4
secondary
#7ECC8D
accent
#E56243
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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