#511B14#511B14

#511B14 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.5% C 0.083 H 30.0°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#511B14
RGBrgb(81, 27, 20)
HSLhsl(7, 60%, 20%)
HSVhsv(7, 75%, 32%)
CMYKcmyk(0%, 66.7%, 75.3%, 68.2%)
CIE-LABlab(18.30, 24.81, 17.89)
CIE-LCHlch(18.30, 30.59, 35.80°)
OKLaboklab(30.51% 0.0717 0.0414)
OKLCHoklch(30.51% 0.083 30)
XYZxyz(3.9119, 2.5842, 0.9545)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B14 #144A51
analogous
#51142C #511B14 #513914
triadic
#511B14 #14511B #1B1451
tetradic
#511B14 #2C5114 #144A51 #391451
square
#511B14 #2C5114 #144A51 #391451
split-complementary
#511B14 #145139 #142C51
monochromatic
#190806 #200B08 #511B14 #822B20 #B33C2C

Accessibility & contrast

On white

13.84
#511B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#511B14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B14
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B14#FFFFFF#000000##FFFFFF
##511B141.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292513
Deuteranopia (green-blind)
#373112
Tritanopia (blue-blind)
#5A0F1A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511b14;
/* rgb */ color: rgb(81, 27, 20);
/* oklch */ color: oklch(30.5% 0.083 30.0);
Tailwind
colors: {
  custom: {
    50: '#875a51',
    500: '#511b14',
    950: '#000000',
  },
}
SCSS
$custom: #511b14;
$custom-light: #875a51;
$custom-dark: #000000;
JSON
{
  "hex": "#511b14",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 20
  },
  "hsl": {
    "h": 6.885,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30511,
    "c": 0.08274,
    "h": 30
  },
  "luminance": 0.02584
}

Semantic roles & 50–950 ramp

primary
#511B14
secondary
#388089
accent
#D1E444
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511B14

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

Preview Lab → · Contrast checker → · Palette generator →

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