#511B1E#511B1E

#511B1E is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.7% C 0.081 H 19.9°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#511B1E
RGBrgb(81, 27, 30)
HSLhsl(357, 50%, 21%)
HSVhsv(357, 67%, 32%)
CMYKcmyk(0%, 66.7%, 63%, 68.2%)
CIE-LABlab(18.49, 25.56, 11.26)
CIE-LCHlch(18.49, 27.94, 23.78°)
OKLaboklab(30.72% 0.0762 0.0277)
OKLCHoklch(30.72% 0.081 19.9)
XYZxyz(4.0200, 2.6274, 1.5235)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B1E #1B514E
analogous
#511B39 #511B1E #51331B
triadic
#511B1E #1E511B #1B1E51
tetradic
#511B1E #39511B #1B514E #331B51
square
#511B1E #39511B #1B514E #331B51
split-complementary
#511B1E #1B5133 #1B3951
monochromatic
#170808 #230C0D #511B1E #7F2A2F #AD3A40

Accessibility & contrast

On white

13.77
#511B1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#511B1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B1E
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B1E#FFFFFF#000000##FFFFFF
##511B1E1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261E
Deuteranopia (green-blind)
#36311D
Tritanopia (blue-blind)
#59111C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511b1e;
/* rgb */ color: rgb(81, 27, 30);
/* oklch */ color: oklch(30.7% 0.081 19.9);
Tailwind
colors: {
  custom: {
    50: '#865a59',
    500: '#511b1e',
    950: '#000000',
  },
}
SCSS
$custom: #511b1e;
$custom-light: #865a59;
$custom-dark: #000000;
JSON
{
  "hex": "#511b1e",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 30
  },
  "hsl": {
    "h": 356.667,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30716,
    "c": 0.08104,
    "h": 19.9
  },
  "luminance": 0.02627
}

Semantic roles & 50–950 ramp

primary
#511B1E
secondary
#418783
accent
#DAD24E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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