#812718#812718

#812718 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.0% C 0.127 H 32.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#812718
RGBrgb(129, 39, 24)
HSLhsl(9, 69%, 30%)
HSVhsv(9, 81%, 51%)
CMYKcmyk(0%, 69.8%, 81.4%, 49.4%)
CIE-LABlab(29.88, 37.87, 30.79)
CIE-LCHlch(29.88, 48.80, 39.11°)
OKLaboklab(40.99% 0.1074 0.0671)
OKLCHoklch(40.99% 0.127 32)
XYZxyz(9.9448, 6.1856, 1.5343)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812718 #187281
analogous
#81183E #812718 #815B18
triadic
#812718 #188127 #271881
tetradic
#812718 #3E8118 #187281 #5B1881
square
#812718 #3E8118 #187281 #5B1881
split-complementary
#812718 #18815B #183E81
monochromatic
#1A0805 #4D170E #812718 #B53722 #DA5039

Accessibility & contrast

On white

9.39
#812718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#812718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812718
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812718#FFFFFF#000000##FFFFFF
##8127181.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A16
Deuteranopia (green-blind)
#574E14
Tritanopia (blue-blind)
#8E0A24
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #812718;
/* rgb */ color: rgb(129, 39, 24);
/* oklch */ color: oklch(41.0% 0.127 32.0);
Tailwind
colors: {
  custom: {
    50: '#ad6756',
    500: '#812718',
    950: '#000000',
  },
}
SCSS
$custom: #812718;
$custom-light: #ad6756;
$custom-dark: #000000;
JSON
{
  "hex": "#812718",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 24
  },
  "hsl": {
    "h": 8.571,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.40994,
    "c": 0.12666,
    "h": 32
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#812718
secondary
#40A4B5
accent
#D2EB3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #812718

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

Preview Lab → · Contrast checker → · Palette generator →

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