#511A0D#511A0D

#511A0D is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.3% C 0.086 H 34.6°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#511A0D
RGBrgb(81, 26, 13)
HSLhsl(11, 72%, 18%)
HSVhsv(11, 84%, 32%)
CMYKcmyk(0%, 67.9%, 84%, 68.2%)
CIE-LABlab(18.00, 24.96, 21.52)
CIE-LCHlch(18.00, 32.96, 40.77°)
OKLaboklab(30.26% 0.0706 0.0487)
OKLCHoklch(30.26% 0.086 34.6)
XYZxyz(3.8358, 2.5177, 0.6647)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A0D #0D4451
analogous
#510D22 #511A0D #513C0D
triadic
#511A0D #0D511A #1A0D51
tetradic
#511A0D #22510D #0D4451 #3C0D51
square
#511A0D #22510D #0D4451 #3C0D51
split-complementary
#511A0D #0D513C #0D2251
monochromatic
#1A0804 #1C0905 #511A0D #862B15 #BA3C1E

Accessibility & contrast

On white

13.97
#511A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#511A0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511A0D
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A0D#FFFFFF#000000##FFFFFF
##511A0D1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240B
Deuteranopia (green-blind)
#37310B
Tritanopia (blue-blind)
#5A0C17
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #511a0d;
/* rgb */ color: rgb(81, 26, 13);
/* oklch */ color: oklch(30.3% 0.086 34.6);
Tailwind
colors: {
  custom: {
    50: '#87594d',
    500: '#511a0d',
    950: '#000000',
  },
}
SCSS
$custom: #511a0d;
$custom-light: #87594d;
$custom-dark: #000000;
JSON
{
  "hex": "#511a0d",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 13
  },
  "hsl": {
    "h": 11.471,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30257,
    "c": 0.08572,
    "h": 34.6
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#511A0D
secondary
#2E7A8C
accent
#CCEF39
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #511A0D

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

Preview Lab → · Contrast checker → · Palette generator →

#511A0D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva