#C12B58#C12B58

#C12B58 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.0% C 0.186 H 8.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#C12B58
RGBrgb(193, 43, 88)
HSLhsl(342, 64%, 46%)
HSVhsv(342, 78%, 76%)
CMYKcmyk(0%, 77.7%, 54.4%, 24.3%)
CIE-LABlab(43.91, 60.51, 11.30)
CIE-LCHlch(43.91, 61.56, 10.58°)
OKLaboklab(54.04% 0.184 0.0288)
OKLCHoklch(54.04% 0.186 8.9)
XYZxyz(24.6200, 13.7733, 10.5927)
Luminance0.1377 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12B58 #2BC194
analogous
#C12BA3 #C12B58 #C1492B
triadic
#C12B58 #58C12B #2B58C1
tetradic
#C12B58 #A3C12B #2BC194 #492BC1
square
#C12B58 #A3C12B #2BC194 #492BC1
split-complementary
#C12B58 #2BC149 #2BA3C1
monochromatic
#5D152A #8F2041 #C12B58 #D8517A #E383A0

Accessibility & contrast

On white

5.59
#C12B58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#C12B58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12B58
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12B58#FFFFFF#000000##FFFFFF
##C12B581.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c12b58;
/* rgb */ color: rgb(193, 43, 88);
/* oklch */ color: oklch(54.0% 0.186 8.9);
Tailwind
colors: {
  custom: {
    50: '#da7386',
    500: '#c12b58',
    950: '#000000',
  },
}
SCSS
$custom: #c12b58;
$custom-light: #da7386;
$custom-dark: #000000;
JSON
{
  "hex": "#c12b58",
  "rgb": {
    "r": 193,
    "g": 43,
    "b": 88
  },
  "hsl": {
    "h": 342,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54042,
    "c": 0.18622,
    "h": 8.9
  },
  "luminance": 0.1377
}

Semantic roles & 50–950 ramp

primary
#C12B58
secondary
#7BCCB4
accent
#E7B541
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C12B58

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

Preview Lab → · Contrast checker → · Palette generator →

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