#511F1D#511F1D

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

Color values

HEX#511F1D
RGBrgb(81, 31, 29)
HSLhsl(2, 47%, 22%)
HSVhsv(2, 64%, 32%)
CMYKcmyk(0%, 61.7%, 64.2%, 68.2%)
CIE-LABlab(19.30, 23.27, 13.03)
CIE-LCHlch(19.30, 26.67, 29.24°)
OKLaboklab(31.32% 0.0688 0.0317)
OKLCHoklch(31.32% 0.076 24.7)
XYZxyz(4.1055, 2.8185, 1.4900)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F1D #1D4F51
analogous
#511D35 #511F1D #51391D
triadic
#511F1D #1D511F #1F1D51
tetradic
#511F1D #35511D #1D4F51 #391D51
square
#511F1D #35511D #1D4F51 #391D51
split-complementary
#511F1D #1D5139 #1D3551
monochromatic
#170908 #240E0D #511F1D #7E302D #AB413D

Accessibility & contrast

On white

13.43
#511F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511F1D
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F1D#FFFFFF#000000##FFFFFF
##511F1D1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B281D
Deuteranopia (green-blind)
#38331C
Tritanopia (blue-blind)
#59161F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511f1d;
/* rgb */ color: rgb(81, 31, 29);
/* oklch */ color: oklch(31.3% 0.076 24.7);
Tailwind
colors: {
  custom: {
    50: '#865d58',
    500: '#511f1d',
    950: '#000000',
  },
}
SCSS
$custom: #511f1d;
$custom-light: #865d58;
$custom-dark: #000000;
JSON
{
  "hex": "#511f1d",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 29
  },
  "hsl": {
    "h": 2.308,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31324,
    "c": 0.07571,
    "h": 24.7
  },
  "luminance": 0.02818
}

Semantic roles & 50–950 ramp

primary
#511F1D
secondary
#448486
accent
#D2D751
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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