#511F20#511F20

#511F20 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.4% C 0.075 H 21.2°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#511F20
RGBrgb(81, 31, 32)
HSLhsl(359, 45%, 22%)
HSVhsv(359, 62%, 32%)
CMYKcmyk(0%, 61.7%, 60.5%, 68.2%)
CIE-LABlab(19.37, 23.54, 11.04)
CIE-LCHlch(19.37, 26.00, 25.12°)
OKLaboklab(31.39% 0.0702 0.0273)
OKLCHoklch(31.39% 0.075 21.2)
XYZxyz(4.1444, 2.8341, 1.6950)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F20 #1F5150
analogous
#511F39 #511F20 #51371F
triadic
#511F20 #20511F #1F2051
tetradic
#511F20 #39511F #1F5150 #371F51
square
#511F20 #39511F #1F5150 #371F51
split-complementary
#511F20 #1F5137 #1F3951
monochromatic
#160809 #250E0F #511F20 #7D3031 #AA4143

Accessibility & contrast

On white

13.40
#511F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#511F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511F20
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F20#FFFFFF#000000##FFFFFF
##511F201.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2820
Deuteranopia (green-blind)
#37331F
Tritanopia (blue-blind)
#591720
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511f20;
/* rgb */ color: rgb(81, 31, 32);
/* oklch */ color: oklch(31.4% 0.075 21.2);
Tailwind
colors: {
  custom: {
    50: '#855d5b',
    500: '#511f20',
    950: '#000000',
  },
}
SCSS
$custom: #511f20;
$custom-light: #855d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#511f20",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 32
  },
  "hsl": {
    "h": 358.8,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31394,
    "c": 0.07528,
    "h": 21.2
  },
  "luminance": 0.02834
}

Semantic roles & 50–950 ramp

primary
#511F20
secondary
#468684
accent
#D4D253
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #511F20

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

Preview Lab → · Contrast checker → · Palette generator →

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