#811828#811828

#811828 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.139 H 18.6°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#811828
RGBrgb(129, 24, 40)
HSLhsl(351, 69%, 30%)
HSVhsv(351, 81%, 51%)
CMYKcmyk(0%, 81.4%, 69%, 49.4%)
CIE-LABlab(28.05, 44.31, 18.72)
CIE-LCHlch(28.05, 48.10, 22.91°)
OKLaboklab(39.7% 0.1314 0.0443)
OKLCHoklch(39.7% 0.139 18.6)
XYZxyz(9.7640, 5.4751, 2.5498)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811828 #188171
analogous
#81185D #811828 #813C18
triadic
#811828 #288118 #182881
tetradic
#811828 #5D8118 #188171 #3C1881
square
#811828 #5D8118 #188171 #3C1881
split-complementary
#811828 #18813C #185D81
monochromatic
#1A0508 #4D0E18 #811828 #B52238 #DA3952

Accessibility & contrast

On white

10.02
#811828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#811828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811828
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811828#FFFFFF#000000##FFFFFF
##8118281.0010.022.0910.02
#FFFFFF10.021.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373428
Deuteranopia (green-blind)
#524A25
Tritanopia (blue-blind)
#8E001F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #811828;
/* rgb */ color: rgb(129, 24, 40);
/* oklch */ color: oklch(39.7% 0.139 18.6);
Tailwind
colors: {
  custom: {
    50: '#ad6061',
    500: '#811828',
    950: '#000000',
  },
}
SCSS
$custom: #811828;
$custom-light: #ad6061;
$custom-dark: #000000;
JSON
{
  "hex": "#811828",
  "rgb": {
    "r": 129,
    "g": 24,
    "b": 40
  },
  "hsl": {
    "h": 350.857,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.39703,
    "c": 0.13865,
    "h": 18.6
  },
  "luminance": 0.05474
}

Semantic roles & 50–950 ramp

primary
#811828
secondary
#40B5A3
accent
#EBD13C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #811828

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

Preview Lab → · Contrast checker → · Palette generator →

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