#511F16#511F16

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

Color values

HEX#511F16
RGBrgb(81, 31, 22)
HSLhsl(9, 57%, 20%)
HSVhsv(9, 73%, 32%)
CMYKcmyk(0%, 61.7%, 72.8%, 68.2%)
CIE-LABlab(19.17, 22.72, 17.61)
CIE-LCHlch(19.17, 28.75, 37.77°)
OKLaboklab(31.19% 0.0656 0.0411)
OKLCHoklch(31.19% 0.077 32)
XYZxyz(4.0285, 2.7877, 1.0848)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F16 #164851
analogous
#51162A #511F16 #513D16
triadic
#511F16 #16511F #1F1651
tetradic
#511F16 #2A5116 #164851 #3D1651
square
#511F16 #2A5116 #164851 #3D1651
split-complementary
#511F16 #16513D #162A51
monochromatic
#180907 #210D09 #511F16 #813123 #B14430

Accessibility & contrast

On white

13.48
#511F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511F16
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F16#FFFFFF#000000##FFFFFF
##511F161.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2815
Deuteranopia (green-blind)
#383315
Tritanopia (blue-blind)
#59151D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511f16;
/* rgb */ color: rgb(81, 31, 22);
/* oklch */ color: oklch(31.2% 0.077 32.0);
Tailwind
colors: {
  custom: {
    50: '#865c53',
    500: '#511f16',
    950: '#000000',
  },
}
SCSS
$custom: #511f16;
$custom-light: #865c53;
$custom-dark: #000000;
JSON
{
  "hex": "#511f16",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 22
  },
  "hsl": {
    "h": 9.153,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31185,
    "c": 0.07741,
    "h": 32
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#511F16
secondary
#3A7D88
accent
#C9E147
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511F16

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

Preview Lab → · Contrast checker → · Palette generator →

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