#802818#802818

#802818 is a dark, vivid red. Relative luminance 0.062; OKLCH L 40.9% C 0.125 H 32.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#802818
RGBrgb(128, 40, 24)
HSLhsl(9, 68%, 30%)
HSVhsv(9, 81%, 50%)
CMYKcmyk(0%, 68.8%, 81.3%, 49.8%)
CIE-LABlab(29.85, 37.05, 30.70)
CIE-LCHlch(29.85, 48.12, 39.64°)
OKLaboklab(40.94% 0.105 0.067)
OKLCHoklch(40.94% 0.125 32.5)
XYZxyz(9.8269, 6.1742, 1.5383)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802818 #187080
analogous
#80183C #802818 #805C18
triadic
#802818 #188028 #281880
tetradic
#802818 #3C8018 #187080 #5C1880
square
#802818 #3C8018 #187080 #5C1880
split-complementary
#802818 #18805C #183C80
monochromatic
#1A0805 #4C180E #802818 #B43822 #DA5139

Accessibility & contrast

On white

9.40
#802818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#802818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802818
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802818#FFFFFF#000000##FFFFFF
##8028181.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A15
Deuteranopia (green-blind)
#574D14
Tritanopia (blue-blind)
#8D0D25
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #802818;
/* rgb */ color: rgb(128, 40, 24);
/* oklch */ color: oklch(40.9% 0.125 32.5);
Tailwind
colors: {
  custom: {
    50: '#ac6756',
    500: '#802818',
    950: '#000000',
  },
}
SCSS
$custom: #802818;
$custom-light: #ac6756;
$custom-dark: #000000;
JSON
{
  "hex": "#802818",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 24
  },
  "hsl": {
    "h": 9.231,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40937,
    "c": 0.12456,
    "h": 32.5
  },
  "luminance": 0.06173
}

Semantic roles & 50–950 ramp

primary
#802818
secondary
#40A2B4
accent
#D0EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #802818

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

Preview Lab → · Contrast checker → · Palette generator →

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