#511A27#511A27

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

Color values

HEX#511A27
RGBrgb(81, 26, 39)
HSLhsl(346, 51%, 21%)
HSVhsv(346, 68%, 32%)
CMYKcmyk(0%, 67.9%, 51.9%, 68.2%)
CIE-LABlab(18.52, 26.98, 4.96)
CIE-LCHlch(18.52, 27.44, 10.41°)
OKLaboklab(30.82% 0.082 0.0129)
OKLCHoklch(30.82% 0.083 8.9)
XYZxyz(4.1293, 2.6351, 2.2102)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A27 #1A5144
analogous
#511A42 #511A27 #51281A
triadic
#511A27 #27511A #1A2751
tetradic
#511A27 #42511A #1A5144 #281A51
square
#511A27 #42511A #1A5144 #281A51
split-complementary
#511A27 #1A5128 #1A4251
monochromatic
#17070B #230B11 #511A27 #7F293D #AE3854

Accessibility & contrast

On white

13.75
#511A27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511A27
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A27#FFFFFF#000000##FFFFFF
##511A271.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262627
Deuteranopia (green-blind)
#343126
Tritanopia (blue-blind)
#59121F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511a27;
/* rgb */ color: rgb(81, 26, 39);
/* oklch */ color: oklch(30.8% 0.083 8.9);
Tailwind
colors: {
  custom: {
    50: '#855a60',
    500: '#511a27',
    950: '#000000',
  },
}
SCSS
$custom: #511a27;
$custom-light: #855a60;
$custom-dark: #000000;
JSON
{
  "hex": "#511a27",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 39
  },
  "hsl": {
    "h": 345.818,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30816,
    "c": 0.08297,
    "h": 8.9
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

primary
#511A27
secondary
#408776
accent
#DBB94D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511A27

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

Preview Lab → · Contrast checker → · Palette generator →

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