#511D15#511D15

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

Color values

HEX#511D15
RGBrgb(81, 29, 21)
HSLhsl(8, 59%, 20%)
HSVhsv(8, 74%, 32%)
CMYKcmyk(0%, 64.2%, 74.1%, 68.2%)
CIE-LABlab(18.73, 23.78, 17.74)
CIE-LCHlch(18.73, 29.67, 36.72°)
OKLaboklab(30.84% 0.0687 0.0412)
OKLCHoklch(30.84% 0.08 30.9)
XYZxyz(3.9684, 2.6827, 1.0182)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D15 #154951
analogous
#51152B #511D15 #513B15
triadic
#511D15 #15511D #1D1551
tetradic
#511D15 #2B5115 #154951 #3B1551
square
#511D15 #2B5115 #154951 #3B1551
split-complementary
#511D15 #15513B #152B51
monochromatic
#180906 #200C08 #511D15 #822E22 #B2402E

Accessibility & contrast

On white

13.67
#511D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D15
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D15#FFFFFF#000000##FFFFFF
##511D151.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2614
Deuteranopia (green-blind)
#383214
Tritanopia (blue-blind)
#59121B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511d15;
/* rgb */ color: rgb(81, 29, 21);
/* oklch */ color: oklch(30.8% 0.080 30.9);
Tailwind
colors: {
  custom: {
    50: '#875b52',
    500: '#511d15',
    950: '#000000',
  },
}
SCSS
$custom: #511d15;
$custom-light: #875b52;
$custom-dark: #000000;
JSON
{
  "hex": "#511d15",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 21
  },
  "hsl": {
    "h": 8,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.30841,
    "c": 0.08009,
    "h": 30.9
  },
  "luminance": 0.02682
}

Semantic roles & 50–950 ramp

primary
#511D15
secondary
#397E89
accent
#CDE246
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511D15

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

Preview Lab → · Contrast checker → · Palette generator →

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