#802518#802518

#802518 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.127 H 31.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#802518
RGBrgb(128, 37, 24)
HSLhsl(8, 68%, 30%)
HSVhsv(8, 81%, 50%)
CMYKcmyk(0%, 71.1%, 81.3%, 49.8%)
CIE-LABlab(29.36, 38.37, 30.20)
CIE-LCHlch(29.36, 48.83, 38.20°)
OKLaboklab(40.57% 0.1091 0.0659)
OKLCHoklch(40.57% 0.127 31.1)
XYZxyz(9.7296, 5.9797, 1.5059)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802518 #187380
analogous
#80183F #802518 #805918
triadic
#802518 #188025 #251880
tetradic
#802518 #3F8018 #187380 #591880
square
#802518 #3F8018 #187380 #591880
split-complementary
#802518 #188059 #183F80
monochromatic
#1A0705 #4C160E #802518 #B43422 #DA4D39

Accessibility & contrast

On white

9.56
#802518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#802518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802518
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802518#FFFFFF#000000##FFFFFF
##8025181.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3816
Deuteranopia (green-blind)
#564D14
Tritanopia (blue-blind)
#8D0523
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #802518;
/* rgb */ color: rgb(128, 37, 24);
/* oklch */ color: oklch(40.6% 0.127 31.1);
Tailwind
colors: {
  custom: {
    50: '#ac6556',
    500: '#802518',
    950: '#000000',
  },
}
SCSS
$custom: #802518;
$custom-light: #ac6556;
$custom-dark: #000000;
JSON
{
  "hex": "#802518",
  "rgb": {
    "r": 128,
    "g": 37,
    "b": 24
  },
  "hsl": {
    "h": 7.5,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40572,
    "c": 0.12748,
    "h": 31.1
  },
  "luminance": 0.05978
}

Semantic roles & 50–950 ramp

primary
#802518
secondary
#40A6B4
accent
#D5EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #802518

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

Preview Lab → · Contrast checker → · Palette generator →

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