#C12C26#C12C26

#C12C26 is a mid, vivid red. Relative luminance 0.133; OKLCH L 53.2% C 0.186 H 27.9°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#C12C26
RGBrgb(193, 44, 38)
HSLhsl(2, 67%, 45%)
HSVhsv(2, 80%, 76%)
CMYKcmyk(0%, 77.2%, 80.3%, 24.3%)
CIE-LABlab(43.19, 57.57, 40.50)
CIE-LCHlch(43.19, 70.39, 35.12°)
OKLaboklab(53.24% 0.1647 0.0873)
OKLCHoklch(53.24% 0.186 27.9)
XYZxyz(23.2457, 13.2825, 3.1732)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12C26 #26BBC1
analogous
#C1266D #C12C26 #C17A26
triadic
#C12C26 #26C12C #2C26C1
tetradic
#C12C26 #6DC126 #26BBC1 #7A26C1
square
#C12C26 #6DC126 #26BBC1 #7A26C1
split-complementary
#C12C26 #26C17A #266DC1
monochromatic
#5B1512 #8E201C #C12C26 #DB4F49 #E5807C

Accessibility & contrast

On white

5.74
#C12C26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#C12C26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12C26
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12C26#FFFFFF#000000##FFFFFF
##C12C261.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5123
Deuteranopia (green-blind)
#7F721F
Tritanopia (blue-blind)
#D5002D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c12c26;
/* rgb */ color: rgb(193, 44, 38);
/* oklch */ color: oklch(53.2% 0.186 27.9);
Tailwind
colors: {
  custom: {
    50: '#dd7262',
    500: '#c12c26',
    950: '#000000',
  },
}
SCSS
$custom: #c12c26;
$custom-light: #dd7262;
$custom-dark: #000000;
JSON
{
  "hex": "#c12c26",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 38
  },
  "hsl": {
    "h": 2.323,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53242,
    "c": 0.18637,
    "h": 27.9
  },
  "luminance": 0.13279
}

Semantic roles & 50–950 ramp

primary
#C12C26
secondary
#75CACD
accent
#E3EA3E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79

Preview Lab

Preview with #C12C26

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

Preview Lab → · Contrast checker → · Palette generator →

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