#51180B#51180B

#51180B is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.088 H 34.2°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#51180B
RGBrgb(81, 24, 11)
HSLhsl(11, 76%, 18%)
HSVhsv(11, 86%, 32%)
CMYKcmyk(0%, 70.4%, 86.4%, 68.2%)
CIE-LABlab(17.59, 25.91, 21.94)
CIE-LCHlch(17.59, 33.95, 40.26°)
OKLaboklab(29.94% 0.0731 0.0498)
OKLCHoklch(29.94% 0.088 34.2)
XYZxyz(3.7808, 2.4273, 0.5860)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51180B #0B4451
analogous
#510B21 #51180B #513B0B
triadic
#51180B #0B5118 #180B51
tetradic
#51180B #21510B #0B4451 #3B0B51
square
#51180B #21510B #0B4451 #3B0B51
split-complementary
#51180B #0B513B #0B2151
monochromatic
#1B0804 #1B0804 #51180B #872812 #BD381A

Accessibility & contrast

On white

14.14
#51180B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#51180B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51180B
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51180B#FFFFFF#000000##FFFFFF
##51180B1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282309
Deuteranopia (green-blind)
#363009
Tritanopia (blue-blind)
#5A0815
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #51180b;
/* rgb */ color: rgb(81, 24, 11);
/* oklch */ color: oklch(29.9% 0.088 34.2);
Tailwind
colors: {
  custom: {
    50: '#88584b',
    500: '#51180b',
    950: '#000000',
  },
}
SCSS
$custom: #51180b;
$custom-light: #88584b;
$custom-dark: #000000;
JSON
{
  "hex": "#51180b",
  "rgb": {
    "r": 81,
    "g": 24,
    "b": 11
  },
  "hsl": {
    "h": 11.143,
    "s": 76.087,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29939,
    "c": 0.08841,
    "h": 34.2
  },
  "luminance": 0.02427
}

Semantic roles & 50–950 ramp

primary
#51180B
secondary
#2B7B8D
accent
#CFF335
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #51180B

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

Preview Lab → · Contrast checker → · Palette generator →

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