#511A17#511A17

#511A17 is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.4% C 0.083 H 26.3°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#511A17
RGBrgb(81, 26, 23)
HSLhsl(3, 56%, 20%)
HSVhsv(3, 72%, 32%)
CMYKcmyk(0%, 67.9%, 71.6%, 68.2%)
CIE-LABlab(18.15, 25.54, 15.68)
CIE-LCHlch(18.15, 29.97, 31.55°)
OKLaboklab(30.42% 0.0746 0.037)
OKLCHoklch(30.42% 0.083 26.3)
XYZxyz(3.9178, 2.5505, 1.0964)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A17 #174E51
analogous
#511731 #511A17 #513717
triadic
#511A17 #17511A #1A1751
tetradic
#511A17 #315117 #174E51 #371751
square
#511A17 #315117 #174E51 #371751
split-complementary
#511A17 #175137 #173151
monochromatic
#180807 #210B09 #511A17 #812925 #B03932

Accessibility & contrast

On white

13.91
#511A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511A17
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A17#FFFFFF#000000##FFFFFF
##511A171.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282516
Deuteranopia (green-blind)
#363116
Tritanopia (blue-blind)
#590E1A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #511a17;
/* rgb */ color: rgb(81, 26, 23);
/* oklch */ color: oklch(30.4% 0.083 26.3);
Tailwind
colors: {
  custom: {
    50: '#875954',
    500: '#511a17',
    950: '#000000',
  },
}
SCSS
$custom: #511a17;
$custom-light: #875954;
$custom-dark: #000000;
JSON
{
  "hex": "#511a17",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 23
  },
  "hsl": {
    "h": 3.103,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30415,
    "c": 0.0833,
    "h": 26.3
  },
  "luminance": 0.0255
}

Semantic roles & 50–950 ramp

primary
#511A17
secondary
#3C8488
accent
#D7DF49
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511A17

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

Preview Lab → · Contrast checker → · Palette generator →

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