#511B0C#511B0C

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

Color values

HEX#511B0C
RGBrgb(81, 27, 12)
HSLhsl(13, 74%, 18%)
HSVhsv(13, 85%, 32%)
CMYKcmyk(0%, 66.7%, 85.2%, 68.2%)
CIE-LABlab(18.19, 24.38, 22.22)
CIE-LCHlch(18.19, 32.99, 42.35°)
OKLaboklab(30.4% 0.0686 0.0501)
OKLCHoklch(30.4% 0.085 36.2)
XYZxyz(3.8520, 2.5603, 0.6391)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B0C #0C4251
analogous
#510C1F #511B0C #513D0C
triadic
#511B0C #0C511B #1B0C51
tetradic
#511B0C #1F510C #0C4251 #3D0C51
square
#511B0C #1F510C #0C4251 #3D0C51
split-complementary
#511B0C #0C513D #0C1F51
monochromatic
#1B0904 #1C0904 #511B0C #862D14 #BC3F1C

Accessibility & contrast

On white

13.89
#511B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511B0C
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B0C#FFFFFF#000000##FFFFFF
##511B0C1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511b0c;
/* rgb */ color: rgb(81, 27, 12);
/* oklch */ color: oklch(30.4% 0.085 36.2);
Tailwind
colors: {
  custom: {
    50: '#875a4c',
    500: '#511b0c',
    950: '#000000',
  },
}
SCSS
$custom: #511b0c;
$custom-light: #875a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#511b0c",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 12
  },
  "hsl": {
    "h": 13.043,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30397,
    "c": 0.08492,
    "h": 36.2
  },
  "luminance": 0.0256
}

Semantic roles & 50–950 ramp

primary
#511B0C
secondary
#2C788C
accent
#C8F137
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #511B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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