#C12A22#C12A22

#C12A22 is a mid, vivid red. Relative luminance 0.131; OKLCH L 53.0% C 0.188 H 28.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#C12A22
RGBrgb(193, 42, 34)
HSLhsl(3, 70%, 45%)
HSVhsv(3, 82%, 76%)
CMYKcmyk(0%, 78.2%, 82.4%, 24.3%)
CIE-LABlab(42.93, 58.06, 42.38)
CIE-LCHlch(42.93, 71.89, 36.13°)
OKLaboklab(53.04% 0.1654 0.09)
OKLCHoklch(53.04% 0.188 28.6)
XYZxyz(23.1119, 13.1126, 2.8271)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A22 #22B9C1
analogous
#C1226A #C12A22 #C17A22
triadic
#C12A22 #22C12A #2A22C1
tetradic
#C12A22 #6AC122 #22B9C1 #7A22C1
square
#C12A22 #6AC122 #22B9C1 #7A22C1
split-complementary
#C12A22 #22C17A #226AC1
monochromatic
#591310 #8D1F19 #C12A22 #DE4A42 #E77C76

Accessibility & contrast

On white

5.80
#C12A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#C12A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12A22
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A22#FFFFFF#000000##FFFFFF
##C12A221.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A501F
Deuteranopia (green-blind)
#7F711A
Tritanopia (blue-blind)
#D5002A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #c12a22;
/* rgb */ color: rgb(193, 42, 34);
/* oklch */ color: oklch(53.0% 0.188 28.6);
Tailwind
colors: {
  custom: {
    50: '#de715f',
    500: '#c12a22',
    950: '#000000',
  },
}
SCSS
$custom: #c12a22;
$custom-light: #de715f;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a22",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 34
  },
  "hsl": {
    "h": 3.019,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53042,
    "c": 0.18833,
    "h": 28.6
  },
  "luminance": 0.13109
}

Semantic roles & 50–950 ramp

primary
#C12A22
secondary
#71CACE
accent
#E4ED3B
background
#FFF7F5
surface
#FEEDE9
border
#D6C8C5
text
#170904
muted
#857B79

Preview Lab

Preview with #C12A22

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

Preview Lab → · Contrast checker → · Palette generator →

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