#511B22#511B22

#511B22 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.8% C 0.081 H 15.4°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#511B22
RGBrgb(81, 27, 34)
HSLhsl(352, 50%, 21%)
HSVhsv(352, 67%, 32%)
CMYKcmyk(0%, 66.7%, 58%, 68.2%)
CIE-LABlab(18.58, 25.93, 8.58)
CIE-LCHlch(18.58, 27.32, 18.30°)
OKLaboklab(30.82% 0.078 0.0215)
OKLCHoklch(30.82% 0.081 15.4)
XYZxyz(4.0743, 2.6492, 1.8099)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B22 #1B514A
analogous
#511B3D #511B22 #512F1B
triadic
#511B22 #22511B #1B2251
tetradic
#511B22 #3D511B #1B514A #2F1B51
square
#511B22 #3D511B #1B514A #2F1B51
split-complementary
#511B22 #1B512F #1B3D51
monochromatic
#17080A #230C0F #511B22 #7F2A35 #AD3A49

Accessibility & contrast

On white

13.73
#511B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#511B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B22
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B22#FFFFFF#000000##FFFFFF
##511B221.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282622
Deuteranopia (green-blind)
#353121
Tritanopia (blue-blind)
#59121E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511b22;
/* rgb */ color: rgb(81, 27, 34);
/* oklch */ color: oklch(30.8% 0.081 15.4);
Tailwind
colors: {
  custom: {
    50: '#865a5c',
    500: '#511b22',
    950: '#000000',
  },
}
SCSS
$custom: #511b22;
$custom-light: #865a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#511b22",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 34
  },
  "hsl": {
    "h": 352.222,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30818,
    "c": 0.08095,
    "h": 15.4
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#511B22
secondary
#41877E
accent
#DAC74E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #511B22

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

Preview Lab → · Contrast checker → · Palette generator →

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