#511F0F#511F0F

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

Color values

HEX#511F0F
RGBrgb(81, 31, 15)
HSLhsl(15, 69%, 19%)
HSVhsv(15, 81%, 32%)
CMYKcmyk(0%, 61.7%, 81.5%, 68.2%)
CIE-LABlab(19.07, 22.30, 21.78)
CIE-LCHlch(19.07, 31.17, 44.33°)
OKLaboklab(31.08% 0.0628 0.0491)
OKLCHoklch(31.08% 0.08 38)
XYZxyz(3.9700, 2.7643, 0.7764)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F0F #0F4151
analogous
#510F20 #511F0F #51400F
triadic
#511F0F #0F511F #1F0F51
tetradic
#511F0F #20510F #0F4151 #400F51
square
#511F0F #20510F #0F4151 #400F51
split-complementary
#511F0F #0F5140 #0F2051
monochromatic
#1A0A05 #1D0B05 #511F0F #853319 #B84722

Accessibility & contrast

On white

13.52
#511F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511F0F
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F0F#FFFFFF#000000##FFFFFF
##511F0F1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D270D
Deuteranopia (green-blind)
#39320E
Tritanopia (blue-blind)
#5A141C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511f0f;
/* rgb */ color: rgb(81, 31, 15);
/* oklch */ color: oklch(31.1% 0.080 38.0);
Tailwind
colors: {
  custom: {
    50: '#875c4e',
    500: '#511f0f',
    950: '#000000',
  },
}
SCSS
$custom: #511f0f;
$custom-light: #875c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#511f0f",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 15
  },
  "hsl": {
    "h": 14.545,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31078,
    "c": 0.07969,
    "h": 38
  },
  "luminance": 0.02764
}

Semantic roles & 50–950 ramp

primary
#511F0F
secondary
#31758B
accent
#C1EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #511F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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