#511F11#511F11

#511F11 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.1% C 0.079 H 36.5°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#511F11
RGBrgb(81, 31, 17)
HSLhsl(13, 65%, 19%)
HSVhsv(13, 79%, 32%)
CMYKcmyk(0%, 61.7%, 79%, 68.2%)
CIE-LABlab(19.10, 22.41, 20.70)
CIE-LCHlch(19.10, 30.51, 42.73°)
OKLaboklab(31.11% 0.0636 0.047)
OKLCHoklch(31.11% 0.079 36.5)
XYZxyz(3.9849, 2.7703, 0.8551)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F11 #114351
analogous
#511123 #511F11 #513F11
triadic
#511F11 #11511F #1F1151
tetradic
#511F11 #235111 #114351 #3F1151
square
#511F11 #235111 #114351 #3F1151
split-complementary
#511F11 #11513F #112351
monochromatic
#190A05 #1E0C06 #511F11 #84321C #B64626

Accessibility & contrast

On white

13.51
#511F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511F11
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F11#FFFFFF#000000##FFFFFF
##511F111.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D280F
Deuteranopia (green-blind)
#393310
Tritanopia (blue-blind)
#5A141C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511f11;
/* rgb */ color: rgb(81, 31, 17);
/* oklch */ color: oklch(31.1% 0.079 36.5);
Tailwind
colors: {
  custom: {
    50: '#875c4f',
    500: '#511f11',
    950: '#000000',
  },
}
SCSS
$custom: #511f11;
$custom-light: #875c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#511f11",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 17
  },
  "hsl": {
    "h": 13.125,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31105,
    "c": 0.07901,
    "h": 36.5
  },
  "luminance": 0.0277
}

Semantic roles & 50–950 ramp

primary
#511F11
secondary
#34778A
accent
#C3E840
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511F11

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

Preview Lab → · Contrast checker → · Palette generator →

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