#C12D82#C12D82

#C12D82 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.6% C 0.198 H 350.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#C12D82
RGBrgb(193, 45, 130)
HSLhsl(326, 62%, 47%)
HSVhsv(326, 77%, 76%)
CMYKcmyk(0%, 76.7%, 32.6%, 24.3%)
CIE-LABlab(45.40, 63.88, -12.48)
CIE-LCHlch(45.40, 65.08, 348.94°)
OKLaboklab(55.56% 0.1956 -0.0325)
OKLCHoklch(55.56% 0.198 350.6)
XYZxyz(26.9615, 14.8291, 22.5572)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D82 #2DC16C
analogous
#B62DC1 #C12D82 #C12D38
triadic
#C12D82 #82C12D #2D82C1
tetradic
#C12D82 #C1B62D #2DC16C #2D38C1
square
#C12D82 #C1B62D #2DC16C #2D38C1
split-complementary
#C12D82 #38C12D #2DC1B6
monochromatic
#5E163F #8F2161 #C12D82 #D7549F #E386BB

Accessibility & contrast

On white

5.30
#C12D82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#C12D82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12D82
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D82#FFFFFF#000000##FFFFFF
##C12D821.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475B84
Deuteranopia (green-blind)
#72757F
Tritanopia (blue-blind)
#D02154
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c12d82;
/* rgb */ color: rgb(193, 45, 130);
/* oklch */ color: oklch(55.6% 0.198 350.6);
Tailwind
colors: {
  custom: {
    50: '#d975a6',
    500: '#c12d82',
    950: '#000000',
  },
}
SCSS
$custom: #c12d82;
$custom-light: #d975a6;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d82",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 325.541,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55555,
    "c": 0.19826,
    "h": 350.6
  },
  "luminance": 0.14826
}

Semantic roles & 50–950 ramp

primary
#C12D82
secondary
#7ECC9F
accent
#E58843
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #C12D82

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

Preview Lab → · Contrast checker → · Palette generator →

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