#C12D54#C12D54

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

Color values

HEX#C12D54
RGBrgb(193, 45, 84)
HSLhsl(344, 62%, 47%)
HSVhsv(344, 77%, 76%)
CMYKcmyk(0%, 76.7%, 56.5%, 24.3%)
CIE-LABlab(44.03, 59.61, 13.96)
CIE-LCHlch(44.03, 61.22, 13.18°)
OKLaboklab(54.1% 0.1805 0.035)
OKLCHoklch(54.1% 0.184 11)
XYZxyz(24.5333, 13.8579, 9.7688)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D54 #2DC19A
analogous
#C12D9E #C12D54 #C1502D
triadic
#C12D54 #54C12D #2D54C1
tetradic
#C12D54 #9EC12D #2DC19A #502DC1
square
#C12D54 #9EC12D #2DC19A #502DC1
split-complementary
#C12D54 #2DC150 #2D9EC1
monochromatic
#5E1629 #8F213E #C12D54 #D75477 #E3869E

Accessibility & contrast

On white

5.57
#C12D54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#C12D54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12D54
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D54#FFFFFF#000000##FFFFFF
##C12D541.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555555
Deuteranopia (green-blind)
#7B7350
Tritanopia (blue-blind)
#D3003E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12d54;
/* rgb */ color: rgb(193, 45, 84);
/* oklch */ color: oklch(54.1% 0.184 11.0);
Tailwind
colors: {
  custom: {
    50: '#db7483',
    500: '#c12d54',
    950: '#000000',
  },
}
SCSS
$custom: #c12d54;
$custom-light: #db7483;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d54",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 84
  },
  "hsl": {
    "h": 344.189,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54102,
    "c": 0.18387,
    "h": 11
  },
  "luminance": 0.13854
}

Semantic roles & 50–950 ramp

primary
#C12D54
secondary
#7ECCB7
accent
#E5BA43
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C12D54

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

Preview Lab → · Contrast checker → · Palette generator →

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