#511E27#511E27

#511E27 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.4% C 0.077 H 11.8°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#511E27
RGBrgb(81, 30, 39)
HSLhsl(349, 46%, 22%)
HSVhsv(349, 63%, 32%)
CMYKcmyk(0%, 63%, 51.9%, 68.2%)
CIE-LABlab(19.33, 24.83, 6.09)
CIE-LCHlch(19.33, 25.57, 13.79°)
OKLaboklab(31.42% 0.0752 0.0157)
OKLCHoklch(31.42% 0.077 11.8)
XYZxyz(4.2241, 2.8248, 2.2419)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E27 #1E5148
analogous
#511E41 #511E27 #512F1E
triadic
#511E27 #27511E #1E2751
tetradic
#511E27 #41511E #1E5148 #2F1E51
square
#511E27 #41511E #1E5148 #2F1E51
split-complementary
#511E27 #1E512F #1E4151
monochromatic
#16080B #240D11 #511E27 #7E2F3D #AA3F52

Accessibility & contrast

On white

13.42
#511E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#511E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E27
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E27#FFFFFF#000000##FFFFFF
##511E271.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292827
Deuteranopia (green-blind)
#363326
Tritanopia (blue-blind)
#581721
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511e27;
/* rgb */ color: rgb(81, 30, 39);
/* oklch */ color: oklch(31.4% 0.077 11.8);
Tailwind
colors: {
  custom: {
    50: '#855c60',
    500: '#511e27',
    950: '#000000',
  },
}
SCSS
$custom: #511e27;
$custom-light: #855c60;
$custom-dark: #000000;
JSON
{
  "hex": "#511e27",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 39
  },
  "hsl": {
    "h": 349.412,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31422,
    "c": 0.0768,
    "h": 11.8
  },
  "luminance": 0.02824
}

Semantic roles & 50–950 ramp

primary
#511E27
secondary
#45867B
accent
#D6BE52
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511E27

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

Preview Lab → · Contrast checker → · Palette generator →

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