#511F1A#511F1A

#511F1A is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.3% C 0.076 H 28.0°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#511F1A
RGBrgb(81, 31, 26)
HSLhsl(5, 51%, 21%)
HSVhsv(5, 68%, 32%)
CMYKcmyk(0%, 61.7%, 67.9%, 68.2%)
CIE-LABlab(19.24, 23.02, 15.01)
CIE-LCHlch(19.24, 27.48, 33.10°)
OKLaboklab(31.26% 0.0674 0.0358)
OKLCHoklch(31.26% 0.076 28)
XYZxyz(4.0701, 2.8044, 1.3040)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F1A #1A4C51
analogous
#511A30 #511F1A #513A1A
triadic
#511F1A #1A511F #1F1A51
tetradic
#511F1A #30511A #1A4C51 #3A1A51
square
#511F1A #30511A #1A4C51 #3A1A51
split-complementary
#511F1A #1A513A #1A3051
monochromatic
#170907 #230D0B #511F1A #7F3129 #AE4238

Accessibility & contrast

On white

13.45
#511F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#511F1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511F1A
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F1A#FFFFFF#000000##FFFFFF
##511F1A1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2819
Deuteranopia (green-blind)
#383319
Tritanopia (blue-blind)
#59161E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511f1a;
/* rgb */ color: rgb(81, 31, 26);
/* oklch */ color: oklch(31.3% 0.076 28.0);
Tailwind
colors: {
  custom: {
    50: '#865c56',
    500: '#511f1a',
    950: '#000000',
  },
}
SCSS
$custom: #511f1a;
$custom-light: #865c56;
$custom-dark: #000000;
JSON
{
  "hex": "#511f1a",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 26
  },
  "hsl": {
    "h": 5.455,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3126,
    "c": 0.07634,
    "h": 28
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#511F1A
secondary
#408187
accent
#CEDB4D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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