#511F14#511F14

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

Color values

HEX#511F14
RGBrgb(81, 31, 20)
HSLhsl(11, 60%, 20%)
HSVhsv(11, 75%, 32%)
CMYKcmyk(0%, 61.7%, 75.3%, 68.2%)
CIE-LABlab(19.14, 22.59, 18.89)
CIE-LCHlch(19.14, 29.44, 39.90°)
OKLaboklab(31.15% 0.0648 0.0435)
OKLCHoklch(31.15% 0.078 33.9)
XYZxyz(4.0100, 2.7803, 0.9872)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F14 #144651
analogous
#511427 #511F14 #513E14
triadic
#511F14 #14511F #1F1451
tetradic
#511F14 #275114 #144651 #3E1451
square
#511F14 #275114 #144651 #3E1451
split-complementary
#511F14 #14513E #142751
monochromatic
#190906 #200C08 #511F14 #823220 #B3452C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##511F14#FFFFFF#000000##FFFFFF
##511F141.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)
#2C2813
Deuteranopia (green-blind)
#393313
Tritanopia (blue-blind)
#59151D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511f14;
/* rgb */ color: rgb(81, 31, 20);
/* oklch */ color: oklch(31.2% 0.078 33.9);
Tailwind
colors: {
  custom: {
    50: '#875c51',
    500: '#511f14',
    950: '#000000',
  },
}
SCSS
$custom: #511f14;
$custom-light: #875c51;
$custom-dark: #000000;
JSON
{
  "hex": "#511f14",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 20
  },
  "hsl": {
    "h": 10.82,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31151,
    "c": 0.07803,
    "h": 33.9
  },
  "luminance": 0.0278
}

Semantic roles & 50–950 ramp

primary
#511F14
secondary
#387A89
accent
#C7E444
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511F14

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

Preview Lab → · Contrast checker → · Palette generator →

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