#C12E51#C12E51

#C12E51 is a mid, vivid red. Relative luminance 0.139; OKLCH L 54.1% C 0.183 H 12.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#C12E51
RGBrgb(193, 46, 81)
HSLhsl(346, 62%, 47%)
HSVhsv(346, 76%, 76%)
CMYKcmyk(0%, 76.2%, 58%, 24.3%)
CIE-LABlab(44.07, 59.09, 15.89)
CIE-LCHlch(44.07, 61.18, 15.05°)
OKLaboklab(54.11% 0.1783 0.0395)
OKLCHoklch(54.11% 0.183 12.5)
XYZxyz(24.4569, 13.8891, 9.1760)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12E51 #2EC19E
analogous
#C12E9B #C12E51 #C1542E
triadic
#C12E51 #51C12E #2E51C1
tetradic
#C12E51 #9BC12E #2EC19E #542EC1
square
#C12E51 #9BC12E #2EC19E #542EC1
split-complementary
#C12E51 #2EC154 #2E9BC1
monochromatic
#5E1628 #90223C #C12E51 #D75674 #E2879D

Accessibility & contrast

On white

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

On black

3.78
#C12E51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C12E51#FFFFFF#000000##FFFFFF
##C12E511.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565551
Deuteranopia (green-blind)
#7C734D
Tritanopia (blue-blind)
#D3003D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12e51;
/* rgb */ color: rgb(193, 46, 81);
/* oklch */ color: oklch(54.1% 0.183 12.5);
Tailwind
colors: {
  custom: {
    50: '#db7481',
    500: '#c12e51',
    950: '#000000',
  },
}
SCSS
$custom: #c12e51;
$custom-light: #db7481;
$custom-dark: #000000;
JSON
{
  "hex": "#c12e51",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 81
  },
  "hsl": {
    "h": 345.714,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.18265,
    "h": 12.5
  },
  "luminance": 0.13886
}

Semantic roles & 50–950 ramp

primary
#C12E51
secondary
#7FCCBA
accent
#E5BE43
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C12E51

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

Preview Lab → · Contrast checker → · Palette generator →

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