#C12822#C12822

#C12822 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.9% C 0.190 H 28.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#C12822
RGBrgb(193, 40, 34)
HSLhsl(2, 70%, 45%)
HSVhsv(2, 82%, 76%)
CMYKcmyk(0%, 79.3%, 82.4%, 24.3%)
CIE-LABlab(42.72, 58.65, 42.19)
CIE-LCHlch(42.72, 72.24, 35.73°)
OKLaboklab(52.89% 0.1673 0.0896)
OKLCHoklch(52.89% 0.19 28.2)
XYZxyz(23.0427, 12.9743, 2.8041)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12822 #22BBC1
analogous
#C1226C #C12822 #C17822
triadic
#C12822 #22C128 #2822C1
tetradic
#C12822 #6CC122 #22BBC1 #7822C1
square
#C12822 #6CC122 #22BBC1 #7822C1
split-complementary
#C12822 #22C178 #226CC1
monochromatic
#591210 #8D1D19 #C12822 #DE4842 #E77B76

Accessibility & contrast

On white

5.84
#C12822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#C12822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12822
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12822#FFFFFF#000000##FFFFFF
##C128221.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59501F
Deuteranopia (green-blind)
#7F711A
Tritanopia (blue-blind)
#D50029
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #c12822;
/* rgb */ color: rgb(193, 40, 34);
/* oklch */ color: oklch(52.9% 0.190 28.2);
Tailwind
colors: {
  custom: {
    50: '#de705f',
    500: '#c12822',
    950: '#000000',
  },
}
SCSS
$custom: #c12822;
$custom-light: #de705f;
$custom-dark: #000000;
JSON
{
  "hex": "#c12822",
  "rgb": {
    "r": 193,
    "g": 40,
    "b": 34
  },
  "hsl": {
    "h": 2.264,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52887,
    "c": 0.18974,
    "h": 28.2
  },
  "luminance": 0.12971
}

Semantic roles & 50–950 ramp

primary
#C12822
secondary
#71CBCE
accent
#E6ED3B
background
#FFF7F5
surface
#FEEDE9
border
#D6C8C5
text
#170804
muted
#857B79

Preview Lab

Preview with #C12822

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

Preview Lab → · Contrast checker → · Palette generator →

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