#511E1A#511E1A

#511E1A is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.1% C 0.078 H 27.0°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#511E1A
RGBrgb(81, 30, 26)
HSLhsl(4, 51%, 21%)
HSVhsv(4, 68%, 32%)
CMYKcmyk(0%, 63%, 67.9%, 68.2%)
CIE-LABlab(19.03, 23.58, 14.73)
CIE-LCHlch(19.03, 27.81, 31.99°)
OKLaboklab(31.1% 0.0692 0.0352)
OKLCHoklch(31.1% 0.078 27)
XYZxyz(4.0444, 2.7530, 1.2955)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E1A #1A4D51
analogous
#511A31 #511E1A #51391A
triadic
#511E1A #1A511E #1E1A51
tetradic
#511E1A #31511A #1A4D51 #391A51
square
#511E1A #31511A #1A4D51 #391A51
split-complementary
#511E1A #1A5139 #1A3151
monochromatic
#170907 #230D0B #511E1A #7F2F29 #AE4038

Accessibility & contrast

On white

13.54
#511E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#511E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E1A
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E1A#FFFFFF#000000##FFFFFF
##511E1A1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2719
Deuteranopia (green-blind)
#383219
Tritanopia (blue-blind)
#59141D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511e1a;
/* rgb */ color: rgb(81, 30, 26);
/* oklch */ color: oklch(31.1% 0.078 27.0);
Tailwind
colors: {
  custom: {
    50: '#865c56',
    500: '#511e1a',
    950: '#000000',
  },
}
SCSS
$custom: #511e1a;
$custom-light: #865c56;
$custom-dark: #000000;
JSON
{
  "hex": "#511e1a",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 26
  },
  "hsl": {
    "h": 4.364,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31096,
    "c": 0.07762,
    "h": 27
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#511E1A
secondary
#408287
accent
#D1DB4D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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