#C12D22#C12D22

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

Color values

HEX#C12D22
RGBrgb(193, 45, 34)
HSLhsl(4, 70%, 45%)
HSVhsv(4, 82%, 76%)
CMYKcmyk(0%, 76.7%, 82.4%, 24.3%)
CIE-LABlab(43.26, 57.14, 42.70)
CIE-LCHlch(43.26, 71.33, 36.77°)
OKLaboklab(53.29% 0.1625 0.0907)
OKLCHoklch(53.29% 0.186 29.2)
XYZxyz(23.2223, 13.3334, 2.8639)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D22 #22B6C1
analogous
#C12267 #C12D22 #C17D22
triadic
#C12D22 #22C12D #2D22C1
tetradic
#C12D22 #67C122 #22B6C1 #7D22C1
square
#C12D22 #67C122 #22B6C1 #7D22C1
split-complementary
#C12D22 #22C17D #2267C1
monochromatic
#591510 #8D2119 #C12D22 #DE4D42 #E77E76

Accessibility & contrast

On white

5.73
#C12D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#C12D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12D22
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D22#FFFFFF#000000##FFFFFF
##C12D221.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B511F
Deuteranopia (green-blind)
#80721A
Tritanopia (blue-blind)
#D5002C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c12d22;
/* rgb */ color: rgb(193, 45, 34);
/* oklch */ color: oklch(53.3% 0.186 29.2);
Tailwind
colors: {
  custom: {
    50: '#de725f',
    500: '#c12d22',
    950: '#000000',
  },
}
SCSS
$custom: #c12d22;
$custom-light: #de725f;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d22",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 34
  },
  "hsl": {
    "h": 4.151,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53286,
    "c": 0.18614,
    "h": 29.2
  },
  "luminance": 0.1333
}

Semantic roles & 50–950 ramp

primary
#C12D22
secondary
#71C8CE
accent
#E1ED3B
background
#FFF7F5
surface
#FEEDE9
border
#D6C8C5
text
#170905
muted
#857B79

Preview Lab

Preview with #C12D22

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

Preview Lab → · Contrast checker → · Palette generator →

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