#511A19#511A19

#511A19 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.5% C 0.083 H 24.4°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#511A19
RGBrgb(81, 26, 25)
HSLhsl(1, 53%, 21%)
HSVhsv(1, 69%, 32%)
CMYKcmyk(0%, 67.9%, 69.1%, 68.2%)
CIE-LABlab(18.18, 25.68, 14.35)
CIE-LCHlch(18.18, 29.42, 29.20°)
OKLaboklab(30.45% 0.0756 0.0343)
OKLCHoklch(30.45% 0.083 24.4)
XYZxyz(3.9386, 2.5588, 1.2060)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A19 #195051
analogous
#511934 #511A19 #513619
triadic
#511A19 #19511A #1A1951
tetradic
#511A19 #345119 #195051 #361951
square
#511A19 #345119 #195051 #361951
split-complementary
#511A19 #195136 #193451
monochromatic
#170807 #220B0B #511A19 #802927 #AF3836

Accessibility & contrast

On white

13.89
#511A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#511A19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511A19
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A19#FFFFFF#000000##FFFFFF
##511A191.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282518
Deuteranopia (green-blind)
#363118
Tritanopia (blue-blind)
#590F1A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #511a19;
/* rgb */ color: rgb(81, 26, 25);
/* oklch */ color: oklch(30.5% 0.083 24.4);
Tailwind
colors: {
  custom: {
    50: '#865955',
    500: '#511a19',
    950: '#000000',
  },
}
SCSS
$custom: #511a19;
$custom-light: #865955;
$custom-dark: #000000;
JSON
{
  "hex": "#511a19",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 25
  },
  "hsl": {
    "h": 1.071,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30454,
    "c": 0.08295,
    "h": 24.4
  },
  "luminance": 0.02558
}

Semantic roles & 50–950 ramp

primary
#511A19
secondary
#3E8687
accent
#DADC4C
background
#F8F5F4
surface
#F0E9E8
border
#CBC5C4
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511A19

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

Preview Lab → · Contrast checker → · Palette generator →

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