#C12D57#C12D57

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

Color values

HEX#C12D57
RGBrgb(193, 45, 87)
HSLhsl(343, 62%, 47%)
HSVhsv(343, 77%, 76%)
CMYKcmyk(0%, 76.7%, 54.9%, 24.3%)
CIE-LABlab(44.10, 59.83, 12.19)
CIE-LCHlch(44.10, 61.06, 11.52°)
OKLaboklab(54.18% 0.1817 0.0309)
OKLCHoklch(54.18% 0.184 9.6)
XYZxyz(24.6534, 13.9059, 10.4009)
Luminance0.1390 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D57 #2DC197
analogous
#C12DA1 #C12D57 #C14D2D
triadic
#C12D57 #57C12D #2D57C1
tetradic
#C12D57 #A1C12D #2DC197 #4D2DC1
square
#C12D57 #A1C12D #2DC197 #4D2DC1
split-complementary
#C12D57 #2DC14D #2DA1C1
monochromatic
#5E162A #8F2141 #C12D57 #D75479 #E386A0

Accessibility & contrast

On white

5.55
#C12D57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12D57
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D57#FFFFFF#000000##FFFFFF
##C12D571.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c12d57;
/* rgb */ color: rgb(193, 45, 87);
/* oklch */ color: oklch(54.2% 0.184 9.6);
Tailwind
colors: {
  custom: {
    50: '#da7486',
    500: '#c12d57',
    950: '#000000',
  },
}
SCSS
$custom: #c12d57;
$custom-light: #da7486;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d57",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 87
  },
  "hsl": {
    "h": 342.973,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54175,
    "c": 0.18426,
    "h": 9.6
  },
  "luminance": 0.13902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C12D57

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

Preview Lab → · Contrast checker → · Palette generator →

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