#C12D62#C12D62

#C12D62 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.5% C 0.186 H 4.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#C12D62
RGBrgb(193, 45, 98)
HSLhsl(339, 62%, 47%)
HSVhsv(339, 77%, 76%)
CMYKcmyk(0%, 76.7%, 49.2%, 24.3%)
CIE-LABlab(44.38, 60.71, 5.74)
CIE-LCHlch(44.38, 60.98, 5.40°)
OKLaboklab(54.47% 0.1857 0.0152)
OKLCHoklch(54.47% 0.186 4.7)
XYZxyz(25.1375, 14.0995, 12.9507)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D62 #2DC18C
analogous
#C12DAC #C12D62 #C1422D
triadic
#C12D62 #62C12D #2D62C1
tetradic
#C12D62 #ACC12D #2DC18C #422DC1
square
#C12D62 #ACC12D #2DC18C #422DC1
split-complementary
#C12D62 #2DC142 #2DACC1
monochromatic
#5E1630 #8F2149 #C12D62 #D75483 #E386A7

Accessibility & contrast

On white

5.50
#C12D62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#C12D62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12D62
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D62#FFFFFF#000000##FFFFFF
##C12D621.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525663
Deuteranopia (green-blind)
#79735E
Tritanopia (blue-blind)
#D20244
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c12d62;
/* rgb */ color: rgb(193, 45, 98);
/* oklch */ color: oklch(54.5% 0.186 4.7);
Tailwind
colors: {
  custom: {
    50: '#da748e',
    500: '#c12d62',
    950: '#000000',
  },
}
SCSS
$custom: #c12d62;
$custom-light: #da748e;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d62",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 98
  },
  "hsl": {
    "h": 338.514,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54471,
    "c": 0.18636,
    "h": 4.7
  },
  "luminance": 0.14096
}

Semantic roles & 50–950 ramp

primary
#C12D62
secondary
#7ECCB0
accent
#E5AB43
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C12D62

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

Preview Lab → · Contrast checker → · Palette generator →

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