#802718#802718

#802718 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.8% C 0.126 H 32.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#802718
RGBrgb(128, 39, 24)
HSLhsl(9, 68%, 30%)
HSVhsv(9, 81%, 50%)
CMYKcmyk(0%, 69.5%, 81.3%, 49.8%)
CIE-LABlab(29.68, 37.50, 30.53)
CIE-LCHlch(29.68, 48.36, 39.15°)
OKLaboklab(40.81% 0.1064 0.0666)
OKLCHoklch(40.81% 0.126 32.1)
XYZxyz(9.7936, 6.1076, 1.5272)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802718 #187180
analogous
#80183D #802718 #805B18
triadic
#802718 #188027 #271880
tetradic
#802718 #3D8018 #187180 #5B1880
square
#802718 #3D8018 #187180 #5B1880
split-complementary
#802718 #18805B #183D80
monochromatic
#1A0805 #4C170E #802718 #B43722 #DA5039

Accessibility & contrast

On white

9.45
#802718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#802718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802718
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802718#FFFFFF#000000##FFFFFF
##8027181.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413916
Deuteranopia (green-blind)
#574D14
Tritanopia (blue-blind)
#8D0B24
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #802718;
/* rgb */ color: rgb(128, 39, 24);
/* oklch */ color: oklch(40.8% 0.126 32.1);
Tailwind
colors: {
  custom: {
    50: '#ac6656',
    500: '#802718',
    950: '#000000',
  },
}
SCSS
$custom: #802718;
$custom-light: #ac6656;
$custom-dark: #000000;
JSON
{
  "hex": "#802718",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 24
  },
  "hsl": {
    "h": 8.654,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40813,
    "c": 0.12554,
    "h": 32.1
  },
  "luminance": 0.06106
}

Semantic roles & 50–950 ramp

primary
#802718
secondary
#40A3B4
accent
#D2EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #802718

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

Preview Lab → · Contrast checker → · Palette generator →

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