#511D0C#511D0C

#511D0C is a dark, moderate red. Relative luminance 0.027; OKLCH L 30.7% C 0.083 H 38.0°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#511D0C
RGBrgb(81, 29, 12)
HSLhsl(15, 74%, 18%)
HSVhsv(15, 85%, 32%)
CMYKcmyk(0%, 64.2%, 85.2%, 68.2%)
CIE-LABlab(18.61, 23.28, 22.71)
CIE-LCHlch(18.61, 32.53, 44.29°)
OKLaboklab(30.71% 0.0652 0.051)
OKLCHoklch(30.71% 0.083 38)
XYZxyz(3.8995, 2.6551, 0.6549)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D0C #0C4051
analogous
#510C1D #511D0C #513F0C
triadic
#511D0C #0C511D #1D0C51
tetradic
#511D0C #1D510C #0C4051 #3F0C51
square
#511D0C #1D510C #0C4051 #3F0C51
split-complementary
#511D0C #0C513F #0C1D51
monochromatic
#1B0A04 #1C0A04 #511D0C #863014 #BC431C

Accessibility & contrast

On white

13.72
#511D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D0C
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D0C#FFFFFF#000000##FFFFFF
##511D0C1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C260A
Deuteranopia (green-blind)
#38320A
Tritanopia (blue-blind)
#5A1119
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511d0c;
/* rgb */ color: rgb(81, 29, 12);
/* oklch */ color: oklch(30.7% 0.083 38.0);
Tailwind
colors: {
  custom: {
    50: '#875b4c',
    500: '#511d0c',
    950: '#000000',
  },
}
SCSS
$custom: #511d0c;
$custom-light: #875b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#511d0c",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 12
  },
  "hsl": {
    "h": 14.783,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30712,
    "c": 0.08278,
    "h": 38
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#511D0C
secondary
#2C758C
accent
#C3F137
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #511D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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