#511D12#511D12

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

Color values

HEX#511D12
RGBrgb(81, 29, 18)
HSLhsl(10, 64%, 19%)
HSVhsv(10, 78%, 32%)
CMYKcmyk(0%, 64.2%, 77.8%, 68.2%)
CIE-LABlab(18.68, 23.59, 19.62)
CIE-LCHlch(18.68, 30.68, 39.74°)
OKLaboklab(30.79% 0.0674 0.0448)
OKLCHoklch(30.79% 0.081 33.6)
XYZxyz(3.9423, 2.6723, 0.8804)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D12 #124651
analogous
#511227 #511D12 #513D12
triadic
#511D12 #12511D #1D1251
tetradic
#511D12 #275112 #124651 #3D1251
square
#511D12 #275112 #124651 #3D1251
split-complementary
#511D12 #12513D #122751
monochromatic
#190906 #1F0B07 #511D12 #832F1D #B54128

Accessibility & contrast

On white

13.69
#511D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D12
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D12#FFFFFF#000000##FFFFFF
##511D121.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2611
Deuteranopia (green-blind)
#383211
Tritanopia (blue-blind)
#5A121B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511d12;
/* rgb */ color: rgb(81, 29, 18);
/* oklch */ color: oklch(30.8% 0.081 33.6);
Tailwind
colors: {
  custom: {
    50: '#875b50',
    500: '#511d12',
    950: '#000000',
  },
}
SCSS
$custom: #511d12;
$custom-light: #875b50;
$custom-dark: #000000;
JSON
{
  "hex": "#511d12",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 18
  },
  "hsl": {
    "h": 10.476,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30792,
    "c": 0.08095,
    "h": 33.6
  },
  "luminance": 0.02672
}

Semantic roles & 50–950 ramp

primary
#511D12
secondary
#357B8A
accent
#CAE741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511D12

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

Preview Lab → · Contrast checker → · Palette generator →

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