#C12B5E#C12B5E

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

Color values

HEX#C12B5E
RGBrgb(193, 43, 94)
HSLhsl(340, 64%, 46%)
HSVhsv(340, 78%, 76%)
CMYKcmyk(0%, 77.7%, 51.3%, 24.3%)
CIE-LABlab(44.06, 60.98, 7.77)
CIE-LCHlch(44.06, 61.47, 7.26°)
OKLaboklab(54.2% 0.1862 0.0202)
OKLCHoklch(54.2% 0.187 6.2)
XYZxyz(24.8788, 13.8769, 11.9560)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12B5E #2BC18E
analogous
#C12BA9 #C12B5E #C1432B
triadic
#C12B5E #5EC12B #2B5EC1
tetradic
#C12B5E #A9C12B #2BC18E #432BC1
square
#C12B5E #A9C12B #2BC18E #432BC1
split-complementary
#C12B5E #2BC143 #2BA9C1
monochromatic
#5D152D #8F2046 #C12B5E #D8517F #E383A4

Accessibility & contrast

On white

5.56
#C12B5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12B5E
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12B5E#FFFFFF#000000##FFFFFF
##C12B5E1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52555F
Deuteranopia (green-blind)
#79735A
Tritanopia (blue-blind)
#D20041
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12b5e;
/* rgb */ color: rgb(193, 43, 94);
/* oklch */ color: oklch(54.2% 0.187 6.2);
Tailwind
colors: {
  custom: {
    50: '#da738b',
    500: '#c12b5e',
    950: '#000000',
  },
}
SCSS
$custom: #c12b5e;
$custom-light: #da738b;
$custom-dark: #000000;
JSON
{
  "hex": "#c12b5e",
  "rgb": {
    "r": 193,
    "g": 43,
    "b": 94
  },
  "hsl": {
    "h": 339.6,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54201,
    "c": 0.18733,
    "h": 6.2
  },
  "luminance": 0.13873
}

Semantic roles & 50–950 ramp

primary
#C12B5E
secondary
#7BCCB1
accent
#E7AE41
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C12B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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