#511D27#511D27

#511D27 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.3% C 0.078 H 11.0°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#511D27
RGBrgb(81, 29, 39)
HSLhsl(348, 47%, 22%)
HSVhsv(348, 64%, 32%)
CMYKcmyk(0%, 64.2%, 51.9%, 68.2%)
CIE-LABlab(19.12, 25.38, 5.80)
CIE-LCHlch(19.12, 26.04, 12.87°)
OKLaboklab(31.26% 0.0769 0.015)
OKLCHoklch(31.26% 0.078 11)
XYZxyz(4.1992, 2.7750, 2.2336)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D27 #1D5147
analogous
#511D41 #511D27 #512D1D
triadic
#511D27 #27511D #1D2751
tetradic
#511D27 #41511D #1D5147 #2D1D51
square
#511D27 #41511D #1D5147 #2D1D51
split-complementary
#511D27 #1D512D #1D4151
monochromatic
#17080B #240D11 #511D27 #7E2D3D #AB3D52

Accessibility & contrast

On white

13.50
#511D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D27
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D27#FFFFFF#000000##FFFFFF
##511D271.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282827
Deuteranopia (green-blind)
#353226
Tritanopia (blue-blind)
#581621
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511d27;
/* rgb */ color: rgb(81, 29, 39);
/* oklch */ color: oklch(31.3% 0.078 11.0);
Tailwind
colors: {
  custom: {
    50: '#855c60',
    500: '#511d27',
    950: '#000000',
  },
}
SCSS
$custom: #511d27;
$custom-light: #855c60;
$custom-dark: #000000;
JSON
{
  "hex": "#511d27",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 39
  },
  "hsl": {
    "h": 348.462,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31265,
    "c": 0.07835,
    "h": 11
  },
  "luminance": 0.02775
}

Semantic roles & 50–950 ramp

primary
#511D27
secondary
#448679
accent
#D7BD51
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511D27

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

Preview Lab → · Contrast checker → · Palette generator →

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