#511E16#511E16

#511E16 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.0% C 0.079 H 31.0°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#511E16
RGBrgb(81, 30, 22)
HSLhsl(8, 57%, 20%)
HSVhsv(8, 73%, 32%)
CMYKcmyk(0%, 63%, 72.8%, 68.2%)
CIE-LABlab(18.96, 23.29, 17.34)
CIE-LCHlch(18.96, 29.04, 36.68°)
OKLaboklab(31.02% 0.0674 0.0405)
OKLCHoklch(31.02% 0.079 31)
XYZxyz(4.0028, 2.7363, 1.0763)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E16 #164951
analogous
#51162B #511E16 #513C16
triadic
#511E16 #16511E #1E1651
tetradic
#511E16 #2B5116 #164951 #3C1651
square
#511E16 #2B5116 #164951 #3C1651
split-complementary
#511E16 #16513C #162B51
monochromatic
#180907 #210C09 #511E16 #813023 #B14230

Accessibility & contrast

On white

13.57
#511E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511E16
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E16#FFFFFF#000000##FFFFFF
##511E161.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2715
Deuteranopia (green-blind)
#383215
Tritanopia (blue-blind)
#59141C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511e16;
/* rgb */ color: rgb(81, 30, 22);
/* oklch */ color: oklch(31.0% 0.079 31.0);
Tailwind
colors: {
  custom: {
    50: '#865c53',
    500: '#511e16',
    950: '#000000',
  },
}
SCSS
$custom: #511e16;
$custom-light: #865c53;
$custom-dark: #000000;
JSON
{
  "hex": "#511e16",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 22
  },
  "hsl": {
    "h": 8.136,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3102,
    "c": 0.07862,
    "h": 31
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

primary
#511E16
secondary
#3A7E88
accent
#CCE147
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511E16

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

Preview Lab → · Contrast checker → · Palette generator →

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