#511E28#511E28

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

Color values

HEX#511E28
RGBrgb(81, 30, 40)
HSLhsl(348, 46%, 22%)
HSVhsv(348, 63%, 32%)
CMYKcmyk(0%, 63%, 50.6%, 68.2%)
CIE-LABlab(19.36, 24.94, 5.43)
CIE-LCHlch(19.36, 25.53, 12.28°)
OKLaboklab(31.45% 0.0756 0.0141)
OKLCHoklch(31.45% 0.077 10.5)
XYZxyz(4.2409, 2.8316, 2.3303)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E28 #1E5147
analogous
#511E42 #511E28 #512E1E
triadic
#511E28 #28511E #1E2851
tetradic
#511E28 #42511E #1E5147 #2E1E51
square
#511E28 #42511E #1E5147 #2E1E51
split-complementary
#511E28 #1E512E #1E4251
monochromatic
#16080B #240D12 #511E28 #7E2F3E #AA3F54

Accessibility & contrast

On white

13.41
#511E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#511E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E28
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E28#FFFFFF#000000##FFFFFF
##511E281.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292928
Deuteranopia (green-blind)
#363327
Tritanopia (blue-blind)
#581722
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511e28;
/* rgb */ color: rgb(81, 30, 40);
/* oklch */ color: oklch(31.5% 0.077 10.5);
Tailwind
colors: {
  custom: {
    50: '#855c61',
    500: '#511e28',
    950: '#000000',
  },
}
SCSS
$custom: #511e28;
$custom-light: #855c61;
$custom-dark: #000000;
JSON
{
  "hex": "#511e28",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 40
  },
  "hsl": {
    "h": 348.235,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31452,
    "c": 0.07692,
    "h": 10.5
  },
  "luminance": 0.02831
}

Semantic roles & 50–950 ramp

primary
#511E28
secondary
#458679
accent
#D6BC52
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511E28

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

Preview Lab → · Contrast checker → · Palette generator →

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