#851F17#851F17

#851F17 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.8% C 0.139 H 29.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#851F17
RGBrgb(133, 31, 23)
HSLhsl(4, 71%, 31%)
HSVhsv(4, 83%, 52%)
CMYKcmyk(0%, 76.7%, 82.7%, 47.8%)
CIE-LABlab(29.49, 42.45, 31.23)
CIE-LCHlch(29.49, 52.70, 36.34°)
OKLaboklab(40.85% 0.1211 0.0674)
OKLCHoklch(40.85% 0.139 29.1)
XYZxyz(10.3187, 6.0300, 1.4310)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851F17 #177D85
analogous
#851746 #851F17 #855617
triadic
#851F17 #17851F #1F1785
tetradic
#851F17 #468517 #177D85 #561785
square
#851F17 #468517 #177D85 #561785
split-complementary
#851F17 #178556 #174685
monochromatic
#1D0705 #51130E #851F17 #B92B20 #DD453A

Accessibility & contrast

On white

9.52
#851F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#851F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851F17
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851F17#FFFFFF#000000##FFFFFF
##851F171.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3715
Deuteranopia (green-blind)
#574E12
Tritanopia (blue-blind)
#93001E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #851f17;
/* rgb */ color: rgb(133, 31, 23);
/* oklch */ color: oklch(40.8% 0.139 29.1);
Tailwind
colors: {
  custom: {
    50: '#b16355',
    500: '#851f17',
    950: '#000000',
  },
}
SCSS
$custom: #851f17;
$custom-light: #b16355;
$custom-dark: #000000;
JSON
{
  "hex": "#851f17",
  "rgb": {
    "r": 133,
    "g": 31,
    "b": 23
  },
  "hsl": {
    "h": 4.364,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40846,
    "c": 0.13855,
    "h": 29.1
  },
  "luminance": 0.06028
}

Semantic roles & 50–950 ramp

primary
#851F17
secondary
#3FB0B9
accent
#E0ED3B
background
#FBF6F5
surface
#F7EBE8
border
#D0C6C4
text
#120603
muted
#817A78

Preview Lab

Preview with #851F17

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

Preview Lab → · Contrast checker → · Palette generator →

#851F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva