#511A23#511A23

#511A23 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.7% C 0.082 H 13.6°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#511A23
RGBrgb(81, 26, 35)
HSLhsl(350, 51%, 21%)
HSVhsv(350, 68%, 32%)
CMYKcmyk(0%, 67.9%, 56.8%, 68.2%)
CIE-LABlab(18.41, 26.56, 7.64)
CIE-LCHlch(18.41, 27.64, 16.05°)
OKLaboklab(30.7% 0.0802 0.0193)
OKLCHoklch(30.7% 0.082 13.6)
XYZxyz(4.0664, 2.6100, 1.8794)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A23 #1A5148
analogous
#511A3E #511A23 #512C1A
triadic
#511A23 #23511A #1A2351
tetradic
#511A23 #3E511A #1A5148 #2C1A51
square
#511A23 #3E511A #1A5148 #2C1A51
split-complementary
#511A23 #1A512C #1A3E51
monochromatic
#17070A #230B0F #511A23 #7F2937 #AE384B

Accessibility & contrast

On white

13.80
#511A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#511A23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511A23
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A23#FFFFFF#000000##FFFFFF
##511A231.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272623
Deuteranopia (green-blind)
#353122
Tritanopia (blue-blind)
#59111E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511a23;
/* rgb */ color: rgb(81, 26, 35);
/* oklch */ color: oklch(30.7% 0.082 13.6);
Tailwind
colors: {
  custom: {
    50: '#865a5d',
    500: '#511a23',
    950: '#000000',
  },
}
SCSS
$custom: #511a23;
$custom-light: #865a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#511a23",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 35
  },
  "hsl": {
    "h": 350.182,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30698,
    "c": 0.08246,
    "h": 13.6
  },
  "luminance": 0.02609
}

Semantic roles & 50–950 ramp

primary
#511A23
secondary
#40877B
accent
#DBC44D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #511A23

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

Preview Lab → · Contrast checker → · Palette generator →

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