#511E1D#511E1D

#511E1D is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.2% C 0.077 H 23.7°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#511E1D
RGBrgb(81, 30, 29)
HSLhsl(1, 47%, 22%)
HSVhsv(1, 64%, 32%)
CMYKcmyk(0%, 63%, 64.2%, 68.2%)
CIE-LABlab(19.09, 23.83, 12.75)
CIE-LCHlch(19.09, 27.03, 28.14°)
OKLaboklab(31.16% 0.0705 0.031)
OKLCHoklch(31.16% 0.077 23.7)
XYZxyz(4.0797, 2.7671, 1.4814)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E1D #1D5051
analogous
#511D36 #511E1D #51381D
triadic
#511E1D #1D511E #1E1D51
tetradic
#511E1D #36511D #1D5051 #381D51
square
#511E1D #36511D #1D5051 #381D51
split-complementary
#511E1D #1D5138 #1D3651
monochromatic
#170808 #240D0D #511E1D #7E2F2D #AB3F3D

Accessibility & contrast

On white

13.52
#511E1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#511E1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E1D
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E1D#FFFFFF#000000##FFFFFF
##511E1D1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B281D
Deuteranopia (green-blind)
#37321C
Tritanopia (blue-blind)
#59151E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511e1d;
/* rgb */ color: rgb(81, 30, 29);
/* oklch */ color: oklch(31.2% 0.077 23.7);
Tailwind
colors: {
  custom: {
    50: '#865c58',
    500: '#511e1d',
    950: '#000000',
  },
}
SCSS
$custom: #511e1d;
$custom-light: #865c58;
$custom-dark: #000000;
JSON
{
  "hex": "#511e1d",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 29
  },
  "hsl": {
    "h": 1.154,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31161,
    "c": 0.07705,
    "h": 23.7
  },
  "luminance": 0.02767
}

Semantic roles & 50–950 ramp

primary
#511E1D
secondary
#448586
accent
#D4D751
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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