#511B0F#511B0F

#511B0F is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.4% C 0.084 H 34.1°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#511B0F
RGBrgb(81, 27, 15)
HSLhsl(11, 69%, 19%)
HSVhsv(11, 81%, 32%)
CMYKcmyk(0%, 66.7%, 81.5%, 68.2%)
CIE-LABlab(18.22, 24.52, 20.78)
CIE-LCHlch(18.22, 32.15, 40.28°)
OKLaboklab(30.44% 0.0697 0.0471)
OKLCHoklch(30.44% 0.084 34.1)
XYZxyz(3.8719, 2.5682, 0.7437)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B0F #0F4551
analogous
#510F24 #511B0F #513C0F
triadic
#511B0F #0F511B #1B0F51
tetradic
#511B0F #24510F #0F4551 #3C0F51
square
#511B0F #24510F #0F4551 #3C0F51
split-complementary
#511B0F #0F513C #0F2451
monochromatic
#1A0905 #1D0A05 #511B0F #852C19 #B83D22

Accessibility & contrast

On white

13.87
#511B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#511B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B0F
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B0F#FFFFFF#000000##FFFFFF
##511B0F1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A250D
Deuteranopia (green-blind)
#37310D
Tritanopia (blue-blind)
#5A0E18
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #511b0f;
/* rgb */ color: rgb(81, 27, 15);
/* oklch */ color: oklch(30.4% 0.084 34.1);
Tailwind
colors: {
  custom: {
    50: '#875a4e',
    500: '#511b0f',
    950: '#000000',
  },
}
SCSS
$custom: #511b0f;
$custom-light: #875a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#511b0f",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 15
  },
  "hsl": {
    "h": 10.909,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30435,
    "c": 0.08407,
    "h": 34.1
  },
  "luminance": 0.02568
}

Semantic roles & 50–950 ramp

primary
#511B0F
secondary
#317B8B
accent
#CCEC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #511B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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