#C12B22#C12B22

#C12B22 is a mid, vivid red. Relative luminance 0.132; OKLCH L 53.1% C 0.188 H 28.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#C12B22
RGBrgb(193, 43, 34)
HSLhsl(3, 70%, 45%)
HSVhsv(3, 82%, 76%)
CMYKcmyk(0%, 77.7%, 82.4%, 24.3%)
CIE-LABlab(43.04, 57.76, 42.49)
CIE-LCHlch(43.04, 71.70, 36.34°)
OKLaboklab(53.12% 0.1645 0.0903)
OKLCHoklch(53.12% 0.188 28.8)
XYZxyz(23.1478, 13.1844, 2.8391)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12B22 #22B8C1
analogous
#C12269 #C12B22 #C17A22
triadic
#C12B22 #22C12B #2B22C1
tetradic
#C12B22 #69C122 #22B8C1 #7A22C1
square
#C12B22 #69C122 #22B8C1 #7A22C1
split-complementary
#C12B22 #22C17A #2269C1
monochromatic
#591410 #8D1F19 #C12B22 #DE4B42 #E77D76

Accessibility & contrast

On white

5.78
#C12B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#C12B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12B22
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12B22#FFFFFF#000000##FFFFFF
##C12B221.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A511F
Deuteranopia (green-blind)
#7F711A
Tritanopia (blue-blind)
#D5002B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c12b22;
/* rgb */ color: rgb(193, 43, 34);
/* oklch */ color: oklch(53.1% 0.188 28.8);
Tailwind
colors: {
  custom: {
    50: '#de725f',
    500: '#c12b22',
    950: '#000000',
  },
}
SCSS
$custom: #c12b22;
$custom-light: #de725f;
$custom-dark: #000000;
JSON
{
  "hex": "#c12b22",
  "rgb": {
    "r": 193,
    "g": 43,
    "b": 34
  },
  "hsl": {
    "h": 3.396,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53121,
    "c": 0.18761,
    "h": 28.8
  },
  "luminance": 0.13181
}

Semantic roles & 50–950 ramp

primary
#C12B22
secondary
#71C9CE
accent
#E3ED3B
background
#FFF7F5
surface
#FEEDE9
border
#D6C8C5
text
#170904
muted
#857B79

Preview Lab

Preview with #C12B22

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

Preview Lab → · Contrast checker → · Palette generator →

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