#511E15#511E15

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

Color values

HEX#511E15
RGBrgb(81, 30, 21)
HSLhsl(9, 59%, 20%)
HSVhsv(9, 74%, 32%)
CMYKcmyk(0%, 63%, 74.1%, 68.2%)
CIE-LABlab(18.94, 23.22, 17.99)
CIE-LCHlch(18.94, 29.38, 37.76°)
OKLaboklab(31% 0.067 0.0418)
OKLCHoklch(31% 0.079 31.9)
XYZxyz(3.9934, 2.7325, 1.0265)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E15 #154851
analogous
#51152A #511E15 #513C15
triadic
#511E15 #15511E #1E1551
tetradic
#511E15 #2A5115 #154851 #3C1551
square
#511E15 #2A5115 #154851 #3C1551
split-complementary
#511E15 #15513C #152A51
monochromatic
#180906 #200C08 #511E15 #823022 #B2422E

Accessibility & contrast

On white

13.58
#511E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511E15
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E15#FFFFFF#000000##FFFFFF
##511E151.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2714
Deuteranopia (green-blind)
#383214
Tritanopia (blue-blind)
#59131C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511e15;
/* rgb */ color: rgb(81, 30, 21);
/* oklch */ color: oklch(31.0% 0.079 31.9);
Tailwind
colors: {
  custom: {
    50: '#875c52',
    500: '#511e15',
    950: '#000000',
  },
}
SCSS
$custom: #511e15;
$custom-light: #875c52;
$custom-dark: #000000;
JSON
{
  "hex": "#511e15",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 21
  },
  "hsl": {
    "h": 9,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.31003,
    "c": 0.0789,
    "h": 31.9
  },
  "luminance": 0.02732
}

Semantic roles & 50–950 ramp

primary
#511E15
secondary
#397D89
accent
#CBE246
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511E15

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

Preview Lab → · Contrast checker → · Palette generator →

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