#802218#802218

#802218 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.130 H 29.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#802218
RGBrgb(128, 34, 24)
HSLhsl(6, 68%, 30%)
HSVhsv(6, 81%, 50%)
CMYKcmyk(0%, 73.4%, 81.3%, 49.8%)
CIE-LABlab(28.90, 39.62, 29.73)
CIE-LCHlch(28.90, 49.54, 36.88°)
OKLaboklab(40.23% 0.113 0.0649)
OKLCHoklch(40.23% 0.13 29.9)
XYZxyz(9.6401, 5.8007, 1.4760)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802218 #187680
analogous
#801842 #802218 #805618
triadic
#802218 #188022 #221880
tetradic
#802218 #428018 #187680 #561880
square
#802218 #428018 #187680 #561880
split-complementary
#802218 #188056 #184280
monochromatic
#1A0705 #4C140E #802218 #B43022 #DA4839

Accessibility & contrast

On white

9.72
#802218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#802218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802218
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802218#FFFFFF#000000##FFFFFF
##8022181.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3716
Deuteranopia (green-blind)
#554C14
Tritanopia (blue-blind)
#8D0021
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #802218;
/* rgb */ color: rgb(128, 34, 24);
/* oklch */ color: oklch(40.2% 0.130 29.9);
Tailwind
colors: {
  custom: {
    50: '#ad6456',
    500: '#802218',
    950: '#000000',
  },
}
SCSS
$custom: #802218;
$custom-light: #ad6456;
$custom-dark: #000000;
JSON
{
  "hex": "#802218",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 24
  },
  "hsl": {
    "h": 5.769,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4023,
    "c": 0.13033,
    "h": 29.9
  },
  "luminance": 0.05799
}

Semantic roles & 50–950 ramp

primary
#802218
secondary
#40A9B4
accent
#DAEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #802218

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

Preview Lab → · Contrast checker → · Palette generator →

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