#C22821#C22821

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

Color values

HEX#C22821
RGBrgb(194, 40, 33)
HSLhsl(3, 71%, 45%)
HSVhsv(3, 83%, 76%)
CMYKcmyk(0%, 79.4%, 83%, 23.9%)
CIE-LABlab(42.91, 58.92, 42.96)
CIE-LCHlch(42.91, 72.91, 36.10°)
OKLaboklab(53.06% 0.1678 0.0908)
OKLCHoklch(53.06% 0.191 28.4)
XYZxyz(23.2843, 13.1005, 2.7412)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22821 #21BBC2
analogous
#C2216A #C22821 #C27921
triadic
#C22821 #21C228 #2821C2
tetradic
#C22821 #6AC221 #21BBC2 #7921C2
square
#C22821 #6AC221 #21BBC2 #7921C2
split-complementary
#C22821 #21C279 #216AC2
monochromatic
#59120F #8E1D18 #C22821 #DF4841 #E87B76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C22821#FFFFFF#000000##FFFFFF
##C228211.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)
#5A501E
Deuteranopia (green-blind)
#7F7118
Tritanopia (blue-blind)
#D60029
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #c22821;
/* rgb */ color: rgb(194, 40, 33);
/* oklch */ color: oklch(53.1% 0.191 28.4);
Tailwind
colors: {
  custom: {
    50: '#df715e',
    500: '#c22821',
    950: '#000000',
  },
}
SCSS
$custom: #c22821;
$custom-light: #df715e;
$custom-dark: #000000;
JSON
{
  "hex": "#c22821",
  "rgb": {
    "r": 194,
    "g": 40,
    "b": 33
  },
  "hsl": {
    "h": 2.609,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5306,
    "c": 0.19079,
    "h": 28.4
  },
  "luminance": 0.13097
}

Semantic roles & 50–950 ramp

primary
#C22821
secondary
#70CBCF
accent
#E6EE3A
background
#FFF7F5
surface
#FEEDE9
border
#D6C8C5
text
#170904
muted
#857B79

Preview Lab

Preview with #C22821

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

Preview Lab → · Contrast checker → · Palette generator →

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