#511D0F#511D0F

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

Color values

HEX#511D0F
RGBrgb(81, 29, 15)
HSLhsl(13, 69%, 19%)
HSVhsv(13, 81%, 32%)
CMYKcmyk(0%, 64.2%, 81.5%, 68.2%)
CIE-LABlab(18.64, 23.43, 21.28)
CIE-LCHlch(18.64, 31.65, 42.25°)
OKLaboklab(30.75% 0.0663 0.0481)
OKLCHoklch(30.75% 0.082 36)
XYZxyz(3.9193, 2.6631, 0.7595)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D0F #0F4351
analogous
#510F22 #511D0F #513E0F
triadic
#511D0F #0F511D #1D0F51
tetradic
#511D0F #22510F #0F4351 #3E0F51
square
#511D0F #22510F #0F4351 #3E0F51
split-complementary
#511D0F #0F513E #0F2251
monochromatic
#1A0905 #1D0B05 #511D0F #852F19 #B84222

Accessibility & contrast

On white

13.70
#511D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D0F
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D0F#FFFFFF#000000##FFFFFF
##511D0F1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511d0f;
/* rgb */ color: rgb(81, 29, 15);
/* oklch */ color: oklch(30.8% 0.082 36.0);
Tailwind
colors: {
  custom: {
    50: '#875b4e',
    500: '#511d0f',
    950: '#000000',
  },
}
SCSS
$custom: #511d0f;
$custom-light: #875b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#511d0f",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 15
  },
  "hsl": {
    "h": 12.727,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3075,
    "c": 0.08185,
    "h": 36
  },
  "luminance": 0.02663
}

Semantic roles & 50–950 ramp

primary
#511D0F
secondary
#31788B
accent
#C6EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #511D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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