#C12D56#C12D56

#C12D56 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.2% C 0.184 H 10.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#C12D56
RGBrgb(193, 45, 86)
HSLhsl(343, 62%, 47%)
HSVhsv(343, 77%, 76%)
CMYKcmyk(0%, 76.7%, 55.4%, 24.3%)
CIE-LABlab(44.07, 59.76, 12.78)
CIE-LCHlch(44.07, 61.11, 12.07°)
OKLaboklab(54.15% 0.1813 0.0323)
OKLCHoklch(54.15% 0.184 10.1)
XYZxyz(24.6128, 13.8896, 10.1872)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D56 #2DC198
analogous
#C12DA0 #C12D56 #C14E2D
triadic
#C12D56 #56C12D #2D56C1
tetradic
#C12D56 #A0C12D #2DC198 #4E2DC1
square
#C12D56 #A0C12D #2DC198 #4E2DC1
split-complementary
#C12D56 #2DC14E #2DA0C1
monochromatic
#5E162A #8F2140 #C12D56 #D75478 #E3869F

Accessibility & contrast

On white

5.56
#C12D56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#C12D56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12D56
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D56#FFFFFF#000000##FFFFFF
##C12D561.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555557
Deuteranopia (green-blind)
#7B7352
Tritanopia (blue-blind)
#D3003F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12d56;
/* rgb */ color: rgb(193, 45, 86);
/* oklch */ color: oklch(54.2% 0.184 10.1);
Tailwind
colors: {
  custom: {
    50: '#da7485',
    500: '#c12d56',
    950: '#000000',
  },
}
SCSS
$custom: #c12d56;
$custom-light: #da7485;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d56",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 86
  },
  "hsl": {
    "h": 343.378,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54151,
    "c": 0.18412,
    "h": 10.1
  },
  "luminance": 0.13886
}

Semantic roles & 50–950 ramp

primary
#C12D56
secondary
#7ECCB6
accent
#E5B843
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C12D56

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

Preview Lab → · Contrast checker → · Palette generator →

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