#C12E54#C12E54

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

Color values

HEX#C12E54
RGBrgb(193, 46, 84)
HSLhsl(344, 62%, 47%)
HSVhsv(344, 76%, 76%)
CMYKcmyk(0%, 76.2%, 56.5%, 24.3%)
CIE-LABlab(44.14, 59.30, 14.12)
CIE-LCHlch(44.14, 60.95, 13.39°)
OKLaboklab(54.18% 0.1795 0.0354)
OKLCHoklch(54.18% 0.183 11.2)
XYZxyz(24.5719, 13.9351, 9.7817)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12E54 #2EC19B
analogous
#C12E9E #C12E54 #C1522E
triadic
#C12E54 #54C12E #2E54C1
tetradic
#C12E54 #9EC12E #2EC19B #522EC1
square
#C12E54 #9EC12E #2EC19B #522EC1
split-complementary
#C12E54 #2EC152 #2E9EC1
monochromatic
#5E1629 #90223E #C12E54 #D75677 #E2879F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C12E54#FFFFFF#000000##FFFFFF
##C12E541.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)
#555555
Deuteranopia (green-blind)
#7B7350
Tritanopia (blue-blind)
#D3003E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12e54;
/* rgb */ color: rgb(193, 46, 84);
/* oklch */ color: oklch(54.2% 0.183 11.2);
Tailwind
colors: {
  custom: {
    50: '#db7483',
    500: '#c12e54',
    950: '#000000',
  },
}
SCSS
$custom: #c12e54;
$custom-light: #db7483;
$custom-dark: #000000;
JSON
{
  "hex": "#c12e54",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 84
  },
  "hsl": {
    "h": 344.49,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54184,
    "c": 0.18295,
    "h": 11.2
  },
  "luminance": 0.13932
}

Semantic roles & 50–950 ramp

primary
#C12E54
secondary
#7FCCB8
accent
#E5BB43
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C12E54

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

Preview Lab → · Contrast checker → · Palette generator →

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