#802229#802229

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

Color values

HEX#802229
RGBrgb(128, 34, 41)
HSLhsl(356, 58%, 32%)
HSVhsv(356, 73%, 50%)
CMYKcmyk(0%, 73.4%, 68%, 49.8%)
CIE-LABlab(29.15, 40.47, 19.41)
CIE-LCHlch(29.15, 44.88, 25.62°)
OKLaboklab(40.49% 0.1195 0.046)
OKLCHoklch(40.49% 0.128 21)
XYZxyz(9.8754, 5.8948, 2.7152)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802229 #228079
analogous
#802258 #802229 #804A22
triadic
#802229 #298022 #222980
tetradic
#802229 #588022 #228079 #4A2280
square
#802229 #588022 #228079 #4A2280
split-complementary
#802229 #22804A #225880
monochromatic
#1F080A #50151A #802229 #B02F38 #D04D56

Accessibility & contrast

On white

9.64
#802229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#802229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802229
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802229#FFFFFF#000000##FFFFFF
##8022291.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3829
Deuteranopia (green-blind)
#544C26
Tritanopia (blue-blind)
#8D0425
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #802229;
/* rgb */ color: rgb(128, 34, 41);
/* oklch */ color: oklch(40.5% 0.128 21.0);
Tailwind
colors: {
  custom: {
    50: '#ab6462',
    500: '#802229',
    950: '#000000',
  },
}
SCSS
$custom: #802229;
$custom-light: #ab6462;
$custom-dark: #000000;
JSON
{
  "hex": "#802229",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 41
  },
  "hsl": {
    "h": 355.532,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40487,
    "c": 0.12801,
    "h": 21
  },
  "luminance": 0.05893
}

Semantic roles & 50–950 ramp

primary
#802229
secondary
#4BB2AB
accent
#E1D647
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #802229

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

Preview Lab → · Contrast checker → · Palette generator →

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