#C12D4E#C12D4E

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

Color values

HEX#C12D4E
RGBrgb(193, 45, 78)
HSLhsl(347, 62%, 47%)
HSVhsv(347, 77%, 76%)
CMYKcmyk(0%, 76.7%, 59.6%, 24.3%)
CIE-LABlab(43.90, 59.20, 17.52)
CIE-LCHlch(43.90, 61.73, 16.48°)
OKLaboklab(53.96% 0.1782 0.0432)
OKLCHoklch(53.96% 0.183 13.6)
XYZxyz(24.3083, 13.7679, 8.5837)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D4E #2DC1A0
analogous
#C12D98 #C12D4E #C1562D
triadic
#C12D4E #4EC12D #2D4EC1
tetradic
#C12D4E #98C12D #2DC1A0 #562DC1
square
#C12D4E #98C12D #2DC1A0 #562DC1
split-complementary
#C12D4E #2DC156 #2D98C1
monochromatic
#5E1626 #8F213A #C12D4E #D75471 #E3869A

Accessibility & contrast

On white

5.60
#C12D4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12D4E
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D4E#FFFFFF#000000##FFFFFF
##C12D4E1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56544E
Deuteranopia (green-blind)
#7C734A
Tritanopia (blue-blind)
#D3003B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c12d4e;
/* rgb */ color: rgb(193, 45, 78);
/* oklch */ color: oklch(54.0% 0.183 13.6);
Tailwind
colors: {
  custom: {
    50: '#db737f',
    500: '#c12d4e',
    950: '#000000',
  },
}
SCSS
$custom: #c12d4e;
$custom-light: #db737f;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d4e",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 346.622,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53963,
    "c": 0.18332,
    "h": 13.6
  },
  "luminance": 0.13764
}

Semantic roles & 50–950 ramp

primary
#C12D4E
secondary
#7ECCBB
accent
#E5C143
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C12D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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