#511E1F#511E1F

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

Color values

HEX#511E1F
RGBrgb(81, 30, 31)
HSLhsl(359, 46%, 22%)
HSVhsv(359, 63%, 32%)
CMYKcmyk(0%, 63%, 61.7%, 68.2%)
CIE-LABlab(19.13, 24.01, 11.42)
CIE-LCHlch(19.13, 26.59, 25.43°)
OKLaboklab(31.21% 0.0715 0.0281)
OKLCHoklch(31.21% 0.077 21.4)
XYZxyz(4.1053, 2.7773, 1.6159)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E1F #1E5150
analogous
#511E39 #511E1F #51371E
triadic
#511E1F #1F511E #1E1F51
tetradic
#511E1F #39511E #1E5150 #371E51
square
#511E1F #39511E #1E5150 #371E51
split-complementary
#511E1F #1E5137 #1E3951
monochromatic
#160809 #240D0E #511E1F #7E2F30 #AA3F41

Accessibility & contrast

On white

13.50
#511E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511E1F
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E1F#FFFFFF#000000##FFFFFF
##511E1F1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511e1f;
/* rgb */ color: rgb(81, 30, 31);
/* oklch */ color: oklch(31.2% 0.077 21.4);
Tailwind
colors: {
  custom: {
    50: '#865c5a',
    500: '#511e1f',
    950: '#000000',
  },
}
SCSS
$custom: #511e1f;
$custom-light: #865c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#511e1f",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 31
  },
  "hsl": {
    "h": 358.824,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31207,
    "c": 0.07679,
    "h": 21.4
  },
  "luminance": 0.02777
}

Semantic roles & 50–950 ramp

primary
#511E1F
secondary
#458685
accent
#D6D352
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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