#511E17#511E17

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

Color values

HEX#511E17
RGBrgb(81, 30, 23)
HSLhsl(7, 56%, 20%)
HSVhsv(7, 72%, 32%)
CMYKcmyk(0%, 63%, 71.6%, 68.2%)
CIE-LABlab(18.97, 23.36, 16.70)
CIE-LCHlch(18.97, 28.71, 35.56°)
OKLaboklab(31.04% 0.0678 0.0392)
OKLCHoklch(31.04% 0.078 30)
XYZxyz(4.0126, 2.7403, 1.1281)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E17 #174A51
analogous
#51172D #511E17 #513B17
triadic
#511E17 #17511E #1E1751
tetradic
#511E17 #2D5117 #174A51 #3B1751
square
#511E17 #2D5117 #174A51 #3B1751
split-complementary
#511E17 #17513B #172D51
monochromatic
#180907 #210C09 #511E17 #813025 #B04132

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##511E17#FFFFFF#000000##FFFFFF
##511E171.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)
#2B2716
Deuteranopia (green-blind)
#383216
Tritanopia (blue-blind)
#59141D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511e17;
/* rgb */ color: rgb(81, 30, 23);
/* oklch */ color: oklch(31.0% 0.078 30.0);
Tailwind
colors: {
  custom: {
    50: '#865c54',
    500: '#511e17',
    950: '#000000',
  },
}
SCSS
$custom: #511e17;
$custom-light: #865c54;
$custom-dark: #000000;
JSON
{
  "hex": "#511e17",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 23
  },
  "hsl": {
    "h": 7.241,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31038,
    "c": 0.07834,
    "h": 30
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#511E17
secondary
#3C7F88
accent
#CDDF49
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511E17

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

Preview Lab → · Contrast checker → · Palette generator →

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