#802318#802318

#802318 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.3% C 0.129 H 30.3°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#802318
RGBrgb(128, 35, 24)
HSLhsl(6, 68%, 30%)
HSVhsv(6, 81%, 50%)
CMYKcmyk(0%, 72.7%, 81.3%, 49.8%)
CIE-LABlab(29.05, 39.22, 29.89)
CIE-LCHlch(29.05, 49.31, 37.31°)
OKLaboklab(40.34% 0.1117 0.0652)
OKLCHoklch(40.34% 0.129 30.3)
XYZxyz(9.6691, 5.8587, 1.4857)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802318 #187580
analogous
#801841 #802318 #805718
triadic
#802318 #188023 #231880
tetradic
#802318 #418018 #187580 #571880
square
#802318 #418018 #187580 #571880
split-complementary
#802318 #188057 #184180
monochromatic
#1A0705 #4C150E #802318 #B43122 #DA4A39

Accessibility & contrast

On white

9.67
#802318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#802318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802318
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802318#FFFFFF#000000##FFFFFF
##8023181.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.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: #802318;
/* rgb */ color: rgb(128, 35, 24);
/* oklch */ color: oklch(40.3% 0.129 30.3);
Tailwind
colors: {
  custom: {
    50: '#ad6456',
    500: '#802318',
    950: '#000000',
  },
}
SCSS
$custom: #802318;
$custom-light: #ad6456;
$custom-dark: #000000;
JSON
{
  "hex": "#802318",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 24
  },
  "hsl": {
    "h": 6.346,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40341,
    "c": 0.12939,
    "h": 30.3
  },
  "luminance": 0.05857
}

Semantic roles & 50–950 ramp

primary
#802318
secondary
#40A8B4
accent
#D9EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #802318

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

Preview Lab → · Contrast checker → · Palette generator →

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