#C12D51#C12D51

#C12D51 is a mid, vivid red. Relative luminance 0.138; OKLCH L 54.0% C 0.184 H 12.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#C12D51
RGBrgb(193, 45, 81)
HSLhsl(345, 62%, 47%)
HSVhsv(345, 77%, 76%)
CMYKcmyk(0%, 76.7%, 58%, 24.3%)
CIE-LABlab(43.96, 59.40, 15.74)
CIE-LCHlch(43.96, 61.45, 14.84°)
OKLaboklab(54.03% 0.1793 0.0391)
OKLCHoklch(54.03% 0.184 12.3)
XYZxyz(24.4183, 13.8119, 9.1632)
Luminance0.1381 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D51 #2DC19D
analogous
#C12D9B #C12D51 #C1532D
triadic
#C12D51 #51C12D #2D51C1
tetradic
#C12D51 #9BC12D #2DC19D #532DC1
square
#C12D51 #9BC12D #2DC19D #532DC1
split-complementary
#C12D51 #2DC153 #2D9BC1
monochromatic
#5E1627 #8F213C #C12D51 #D75474 #E3869C

Accessibility & contrast

On white

5.58
#C12D51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#C12D51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12D51
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D51#FFFFFF#000000##FFFFFF
##C12D511.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c12d51;
/* rgb */ color: rgb(193, 45, 81);
/* oklch */ color: oklch(54.0% 0.184 12.3);
Tailwind
colors: {
  custom: {
    50: '#db7481',
    500: '#c12d51',
    950: '#000000',
  },
}
SCSS
$custom: #c12d51;
$custom-light: #db7481;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d51",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 81
  },
  "hsl": {
    "h": 345.405,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54031,
    "c": 0.18356,
    "h": 12.3
  },
  "luminance": 0.13808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C12D51

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

Preview Lab → · Contrast checker → · Palette generator →

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