#51160B#51160B

#51160B is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.091 H 32.7°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#51160B
RGBrgb(81, 22, 11)
HSLhsl(9, 76%, 18%)
HSVhsv(9, 86%, 32%)
CMYKcmyk(0%, 72.8%, 86.4%, 68.2%)
CIE-LABlab(17.22, 26.91, 21.49)
CIE-LCHlch(17.22, 34.44, 38.61°)
OKLaboklab(29.66% 0.0762 0.0489)
OKLCHoklch(29.66% 0.091 32.7)
XYZxyz(3.7411, 2.3479, 0.5727)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51160B #0B4651
analogous
#510B23 #51160B #51390B
triadic
#51160B #0B5116 #160B51
tetradic
#51160B #23510B #0B4651 #390B51
square
#51160B #23510B #0B4651 #390B51
split-complementary
#51160B #0B5139 #0B2351
monochromatic
#1B0704 #1B0704 #51160B #872512 #BD331A

Accessibility & contrast

On white

14.29
#51160B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#51160B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51160B
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51160B#FFFFFF#000000##FFFFFF
##51160B1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272209
Deuteranopia (green-blind)
#362F09
Tritanopia (blue-blind)
#5A0514
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51160b;
/* rgb */ color: rgb(81, 22, 11);
/* oklch */ color: oklch(29.7% 0.091 32.7);
Tailwind
colors: {
  custom: {
    50: '#88574b',
    500: '#51160b',
    950: '#000000',
  },
}
SCSS
$custom: #51160b;
$custom-light: #88574b;
$custom-dark: #000000;
JSON
{
  "hex": "#51160b",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 11
  },
  "hsl": {
    "h": 9.429,
    "s": 76.087,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29661,
    "c": 0.09053,
    "h": 32.7
  },
  "luminance": 0.02347
}

Semantic roles & 50–950 ramp

primary
#51160B
secondary
#2B7D8D
accent
#D5F335
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #51160B

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

Preview Lab → · Contrast checker → · Palette generator →

#51160B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva