#802226#802226

#802226 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.4% C 0.128 H 22.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#802226
RGBrgb(128, 34, 38)
HSLhsl(357, 58%, 32%)
HSVhsv(357, 73%, 50%)
CMYKcmyk(0%, 73.4%, 70.3%, 49.8%)
CIE-LABlab(29.09, 40.29, 21.29)
CIE-LCHlch(29.09, 45.56, 27.85°)
OKLaboklab(40.43% 0.1182 0.0497)
OKLCHoklch(40.43% 0.128 22.8)
XYZxyz(9.8250, 5.8746, 2.4499)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802226 #22807C
analogous
#802255 #802226 #804D22
triadic
#802226 #268022 #222680
tetradic
#802226 #558022 #22807C #4D2280
square
#802226 #558022 #22807C #4D2280
split-complementary
#802226 #22804D #225580
monochromatic
#1F0809 #501518 #802226 #B02F34 #D04D52

Accessibility & contrast

On white

9.66
#802226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802226
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802226#FFFFFF#000000##FFFFFF
##8022261.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3825
Deuteranopia (green-blind)
#544C23
Tritanopia (blue-blind)
#8D0324
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #802226;
/* rgb */ color: rgb(128, 34, 38);
/* oklch */ color: oklch(40.4% 0.128 22.8);
Tailwind
colors: {
  custom: {
    50: '#ac6460',
    500: '#802226',
    950: '#000000',
  },
}
SCSS
$custom: #802226;
$custom-light: #ac6460;
$custom-dark: #000000;
JSON
{
  "hex": "#802226",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 38
  },
  "hsl": {
    "h": 357.447,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40432,
    "c": 0.12827,
    "h": 22.8
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#802226
secondary
#4BB2AE
accent
#E1DB47
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #802226

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

Preview Lab → · Contrast checker → · Palette generator →

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