#C12DA3#C12DA3

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

Color values

HEX#C12DA3
RGBrgb(193, 45, 163)
HSLhsl(312, 62%, 47%)
HSVhsv(312, 77%, 76%)
CMYKcmyk(0%, 76.7%, 15.5%, 24.3%)
CIE-LABlab(46.79, 68.04, -30.22)
CIE-LCHlch(46.79, 74.45, 336.05°)
OKLaboklab(57.02% 0.2013 -0.0821)
OKLCHoklch(57.02% 0.217 337.8)
XYZxyz(29.5422, 15.8614, 36.1489)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12DA3 #2DC14B
analogous
#952DC1 #C12DA3 #C12D59
triadic
#C12DA3 #A3C12D #2DA3C1
tetradic
#C12DA3 #C1952D #2DC14B #2D59C1
square
#C12DA3 #C1952D #2DC14B #2D59C1
split-complementary
#C12DA3 #59C12D #2DC195
monochromatic
#5E164F #8F2179 #C12DA3 #D754BD #E386D0

Accessibility & contrast

On white

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

On black

4.17
#C12DA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C12DA3#FFFFFF#000000##FFFFFF
##C12DA31.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A6
Deuteranopia (green-blind)
#6777A0
Tritanopia (blue-blind)
#CC3666
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c12da3;
/* rgb */ color: rgb(193, 45, 163);
/* oklch */ color: oklch(57.0% 0.217 337.8);
Tailwind
colors: {
  custom: {
    50: '#d876be',
    500: '#c12da3',
    950: '#000000',
  },
}
SCSS
$custom: #c12da3;
$custom-light: #d876be;
$custom-dark: #000000;
JSON
{
  "hex": "#c12da3",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 312.162,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57019,
    "c": 0.21743,
    "h": 337.8
  },
  "luminance": 0.15859
}

Semantic roles & 50–950 ramp

primary
#C12DA3
secondary
#7ECC8E
accent
#E56443
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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