#511D19#511D19

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

Color values

HEX#511D19
RGBrgb(81, 29, 25)
HSLhsl(4, 53%, 21%)
HSVhsv(4, 69%, 32%)
CMYKcmyk(0%, 64.2%, 69.1%, 68.2%)
CIE-LABlab(18.79, 24.06, 15.12)
CIE-LCHlch(18.79, 28.42, 32.15°)
OKLaboklab(30.92% 0.0705 0.036)
OKLCHoklch(30.92% 0.079 27.1)
XYZxyz(4.0085, 2.6988, 1.2293)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D19 #194D51
analogous
#511931 #511D19 #513919
triadic
#511D19 #19511D #1D1951
tetradic
#511D19 #315119 #194D51 #391951
square
#511D19 #315119 #194D51 #391951
split-complementary
#511D19 #195139 #193151
monochromatic
#170807 #220C0B #511D19 #802E27 #AF3E36

Accessibility & contrast

On white

13.64
#511D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D19
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D19#FFFFFF#000000##FFFFFF
##511D191.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511d19;
/* rgb */ color: rgb(81, 29, 25);
/* oklch */ color: oklch(30.9% 0.079 27.1);
Tailwind
colors: {
  custom: {
    50: '#865b55',
    500: '#511d19',
    950: '#000000',
  },
}
SCSS
$custom: #511d19;
$custom-light: #865b55;
$custom-dark: #000000;
JSON
{
  "hex": "#511d19",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 25
  },
  "hsl": {
    "h": 4.286,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30915,
    "c": 0.07911,
    "h": 27.1
  },
  "luminance": 0.02698
}

Semantic roles & 50–950 ramp

primary
#511D19
secondary
#3E8287
accent
#D2DC4C
background
#F8F5F4
surface
#F0E9E8
border
#CBC5C4
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511D19

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

Preview Lab → · Contrast checker → · Palette generator →

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