#511E0F#511E0F

#511E0F is a dark, moderate red. Relative luminance 0.027; OKLCH L 30.9% C 0.081 H 37.0°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#511E0F
RGBrgb(81, 30, 15)
HSLhsl(14, 69%, 19%)
HSVhsv(14, 81%, 32%)
CMYKcmyk(0%, 63%, 81.5%, 68.2%)
CIE-LABlab(18.86, 22.87, 21.53)
CIE-LCHlch(18.86, 31.41, 43.27°)
OKLaboklab(30.91% 0.0645 0.0486)
OKLCHoklch(30.91% 0.081 37)
XYZxyz(3.9442, 2.7129, 0.7678)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E0F #0F4251
analogous
#510F21 #511E0F #513F0F
triadic
#511E0F #0F511E #1E0F51
tetradic
#511E0F #21510F #0F4251 #3F0F51
square
#511E0F #21510F #0F4251 #3F0F51
split-complementary
#511E0F #0F513F #0F2151
monochromatic
#1A0A05 #1D0B05 #511E0F #853119 #B84422

Accessibility & contrast

On white

13.62
#511E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#511E0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E0F
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E0F#FFFFFF#000000##FFFFFF
##511E0F1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C270D
Deuteranopia (green-blind)
#39320E
Tritanopia (blue-blind)
#5A131B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511e0f;
/* rgb */ color: rgb(81, 30, 15);
/* oklch */ color: oklch(30.9% 0.081 37.0);
Tailwind
colors: {
  custom: {
    50: '#875c4e',
    500: '#511e0f',
    950: '#000000',
  },
}
SCSS
$custom: #511e0f;
$custom-light: #875c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#511e0f",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 15
  },
  "hsl": {
    "h": 13.636,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30912,
    "c": 0.08077,
    "h": 37
  },
  "luminance": 0.02712
}

Semantic roles & 50–950 ramp

primary
#511E0F
secondary
#31778B
accent
#C4EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #511E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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