#511B18#511B18

#511B18 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.6% C 0.082 H 26.2°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#511B18
RGBrgb(81, 27, 24)
HSLhsl(3, 54%, 21%)
HSVhsv(3, 70%, 32%)
CMYKcmyk(0%, 66.7%, 70.4%, 68.2%)
CIE-LABlab(18.36, 25.08, 15.27)
CIE-LCHlch(18.36, 29.36, 31.34°)
OKLaboklab(30.58% 0.0734 0.0362)
OKLCHoklch(30.58% 0.082 26.2)
XYZxyz(3.9505, 2.5997, 1.1577)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B18 #184E51
analogous
#511831 #511B18 #513718
triadic
#511B18 #18511B #1B1851
tetradic
#511B18 #315118 #184E51 #371851
square
#511B18 #315118 #184E51 #371851
split-complementary
#511B18 #185137 #183151
monochromatic
#180807 #220B0A #511B18 #802B26 #AF3A34

Accessibility & contrast

On white

13.82
#511B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511B18
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B18#FFFFFF#000000##FFFFFF
##511B181.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292617
Deuteranopia (green-blind)
#373117
Tritanopia (blue-blind)
#59101B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511b18;
/* rgb */ color: rgb(81, 27, 24);
/* oklch */ color: oklch(30.6% 0.082 26.2);
Tailwind
colors: {
  custom: {
    50: '#865a54',
    500: '#511b18',
    950: '#000000',
  },
}
SCSS
$custom: #511b18;
$custom-light: #865a54;
$custom-dark: #000000;
JSON
{
  "hex": "#511b18",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 24
  },
  "hsl": {
    "h": 3.158,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30584,
    "c": 0.08186,
    "h": 26.2
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

primary
#511B18
secondary
#3D8488
accent
#D6DE4A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511B18

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

Preview Lab → · Contrast checker → · Palette generator →

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