#511E1B#511E1B

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

Color values

HEX#511E1B
RGBrgb(81, 30, 27)
HSLhsl(3, 50%, 21%)
HSVhsv(3, 67%, 32%)
CMYKcmyk(0%, 63%, 66.7%, 68.2%)
CIE-LABlab(19.05, 23.67, 14.07)
CIE-LCHlch(19.05, 27.53, 30.74°)
OKLaboklab(31.12% 0.0696 0.0338)
OKLCHoklch(31.12% 0.077 25.9)
XYZxyz(4.0558, 2.7575, 1.3554)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E1B #1B4E51
analogous
#511B33 #511E1B #51391B
triadic
#511E1B #1B511E #1E1B51
tetradic
#511E1B #33511B #1B4E51 #391B51
square
#511E1B #33511B #1B4E51 #391B51
split-complementary
#511E1B #1B5139 #1B3351
monochromatic
#170808 #230D0C #511E1B #7F2F2A #AD403A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##511E1B#FFFFFF#000000##FFFFFF
##511E1B1.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)
#2B271A
Deuteranopia (green-blind)
#38321A
Tritanopia (blue-blind)
#59151E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511e1b;
/* rgb */ color: rgb(81, 30, 27);
/* oklch */ color: oklch(31.1% 0.077 25.9);
Tailwind
colors: {
  custom: {
    50: '#865c57',
    500: '#511e1b',
    950: '#000000',
  },
}
SCSS
$custom: #511e1b;
$custom-light: #865c57;
$custom-dark: #000000;
JSON
{
  "hex": "#511e1b",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 27
  },
  "hsl": {
    "h": 3.333,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31117,
    "c": 0.07741,
    "h": 25.9
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#511E1B
secondary
#418387
accent
#D2DA4E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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