#511D0E#511D0E

#511D0E is a dark, moderate red. Relative luminance 0.027; OKLCH L 30.7% C 0.082 H 36.7°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#511D0E
RGBrgb(81, 29, 14)
HSLhsl(13, 71%, 19%)
HSVhsv(13, 83%, 32%)
CMYKcmyk(0%, 64.2%, 82.7%, 68.2%)
CIE-LABlab(18.63, 23.38, 21.78)
CIE-LCHlch(18.63, 31.95, 42.97°)
OKLaboklab(30.74% 0.0659 0.0491)
OKLCHoklch(30.74% 0.082 36.7)
XYZxyz(3.9124, 2.6603, 0.7229)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D0E #0E4251
analogous
#510E20 #511D0E #513E0E
triadic
#511D0E #0E511D #1D0E51
tetradic
#511D0E #20510E #0E4251 #3E0E51
square
#511D0E #20510E #0E4251 #3E0E51
split-complementary
#511D0E #0E513E #0E2051
monochromatic
#1A0905 #1D0A05 #511D0E #853017 #B94220

Accessibility & contrast

On white

13.71
#511D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#511D0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511D0E
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D0E#FFFFFF#000000##FFFFFF
##511D0E1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B260C
Deuteranopia (green-blind)
#38320C
Tritanopia (blue-blind)
#5A111A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511d0e;
/* rgb */ color: rgb(81, 29, 14);
/* oklch */ color: oklch(30.7% 0.082 36.7);
Tailwind
colors: {
  custom: {
    50: '#875b4d',
    500: '#511d0e',
    950: '#000000',
  },
}
SCSS
$custom: #511d0e;
$custom-light: #875b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#511d0e",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 14
  },
  "hsl": {
    "h": 13.433,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30737,
    "c": 0.08217,
    "h": 36.7
  },
  "luminance": 0.0266
}

Semantic roles & 50–950 ramp

primary
#511D0E
secondary
#2F778C
accent
#C5ED3A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #511D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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