#802222#802222

#802222 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.4% C 0.129 H 25.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#802222
RGBrgb(128, 34, 34)
HSLhsl(0, 58%, 32%)
HSVhsv(0, 73%, 50%)
CMYKcmyk(0%, 73.4%, 73.4%, 49.8%)
CIE-LABlab(29.03, 40.07, 23.77)
CIE-LCHlch(29.03, 46.59, 30.67°)
OKLaboklab(40.37% 0.1166 0.0545)
OKLCHoklch(40.37% 0.129 25)
XYZxyz(9.7639, 5.8502, 2.1281)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802222 #228080
analogous
#802251 #802222 #805122
triadic
#802222 #228022 #222280
tetradic
#802222 #518022 #228080 #512280
square
#802222 #518022 #228080 #512280
split-complementary
#802222 #228051 #225180
monochromatic
#1F0808 #501515 #802222 #B02F2F #D04D4D

Accessibility & contrast

On white

9.68
#802222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#802222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802222
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802222#FFFFFF#000000##FFFFFF
##8022221.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3821
Deuteranopia (green-blind)
#544C1F
Tritanopia (blue-blind)
#8D0123
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #802222;
/* rgb */ color: rgb(128, 34, 34);
/* oklch */ color: oklch(40.4% 0.129 25.0);
Tailwind
colors: {
  custom: {
    50: '#ac645d',
    500: '#802222',
    950: '#000000',
  },
}
SCSS
$custom: #802222;
$custom-light: #ac645d;
$custom-dark: #000000;
JSON
{
  "hex": "#802222",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40365,
    "c": 0.12874,
    "h": 25
  },
  "luminance": 0.05849
}

Semantic roles & 50–950 ramp

primary
#802222
secondary
#4BB2B2
accent
#E1E147
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #802222

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

Preview Lab → · Contrast checker → · Palette generator →

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