#C12D59#C12D59

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

Color values

HEX#C12D59
RGBrgb(193, 45, 89)
HSLhsl(342, 62%, 47%)
HSVhsv(342, 77%, 76%)
CMYKcmyk(0%, 76.7%, 53.9%, 24.3%)
CIE-LABlab(44.15, 59.98, 11.01)
CIE-LCHlch(44.15, 60.98, 10.40°)
OKLaboklab(54.23% 0.1824 0.0281)
OKLCHoklch(54.23% 0.185 8.8)
XYZxyz(24.7362, 13.9390, 10.8372)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D59 #2DC195
analogous
#C12DA3 #C12D59 #C14B2D
triadic
#C12D59 #59C12D #2D59C1
tetradic
#C12D59 #A3C12D #2DC195 #4B2DC1
square
#C12D59 #A3C12D #2DC195 #4B2DC1
split-complementary
#C12D59 #2DC14B #2DA3C1
monochromatic
#5E162B #8F2142 #C12D59 #D7547B #E386A1

Accessibility & contrast

On white

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

On black

3.79
#C12D59 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C12D59#FFFFFF#000000##FFFFFF
##C12D591.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54555A
Deuteranopia (green-blind)
#7A7355
Tritanopia (blue-blind)
#D30040
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12d59;
/* rgb */ color: rgb(193, 45, 89);
/* oklch */ color: oklch(54.2% 0.185 8.8);
Tailwind
colors: {
  custom: {
    50: '#da7487',
    500: '#c12d59',
    950: '#000000',
  },
}
SCSS
$custom: #c12d59;
$custom-light: #da7487;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d59",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 89
  },
  "hsl": {
    "h": 342.162,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54226,
    "c": 0.18456,
    "h": 8.8
  },
  "luminance": 0.13935
}

Semantic roles & 50–950 ramp

primary
#C12D59
secondary
#7ECCB5
accent
#E5B543
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C12D59

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

Preview Lab → · Contrast checker → · Palette generator →

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