#802118#802118

#802118 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.131 H 29.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#802118
RGBrgb(128, 33, 24)
HSLhsl(5, 68%, 30%)
HSVhsv(5, 81%, 50%)
CMYKcmyk(0%, 74.2%, 81.3%, 49.8%)
CIE-LABlab(28.76, 40.03, 29.58)
CIE-LCHlch(28.76, 49.77, 36.47°)
OKLaboklab(40.12% 0.1143 0.0646)
OKLCHoklch(40.12% 0.131 29.5)
XYZxyz(9.6119, 5.7443, 1.4666)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802118 #187780
analogous
#801843 #802118 #805518
triadic
#802118 #188021 #211880
tetradic
#802118 #438018 #187780 #551880
square
#802118 #438018 #187780 #551880
split-complementary
#802118 #188055 #184380
monochromatic
#1A0705 #4C140E #802118 #B42E22 #DA4739

Accessibility & contrast

On white

9.77
#802118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#802118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802118
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802118#FFFFFF#000000##FFFFFF
##8021181.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3716
Deuteranopia (green-blind)
#554B14
Tritanopia (blue-blind)
#8D0020
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #802118;
/* rgb */ color: rgb(128, 33, 24);
/* oklch */ color: oklch(40.1% 0.131 29.5);
Tailwind
colors: {
  custom: {
    50: '#ad6356',
    500: '#802118',
    950: '#000000',
  },
}
SCSS
$custom: #802118;
$custom-light: #ad6356;
$custom-dark: #000000;
JSON
{
  "hex": "#802118",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 24
  },
  "hsl": {
    "h": 5.192,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4012,
    "c": 0.13125,
    "h": 29.5
  },
  "luminance": 0.05743
}

Semantic roles & 50–950 ramp

primary
#802118
secondary
#40AAB4
accent
#DCEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #802118

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

Preview Lab → · Contrast checker → · Palette generator →

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