#511B28#511B28

#511B28 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.0% C 0.082 H 8.4°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#511B28
RGBrgb(81, 27, 40)
HSLhsl(346, 50%, 21%)
HSVhsv(346, 67%, 32%)
CMYKcmyk(0%, 66.7%, 50.6%, 68.2%)
CIE-LABlab(18.74, 26.57, 4.57)
CIE-LCHlch(18.74, 26.96, 9.75°)
OKLaboklab(30.99% 0.0808 0.0119)
OKLCHoklch(30.99% 0.082 8.4)
XYZxyz(4.1686, 2.6869, 2.3062)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B28 #1B5144
analogous
#511B43 #511B28 #51291B
triadic
#511B28 #28511B #1B2851
tetradic
#511B28 #43511B #1B5144 #291B51
square
#511B28 #43511B #1B5144 #291B51
split-complementary
#511B28 #1B5129 #1B4351
monochromatic
#17080B #230C11 #511B28 #7F2A3F #AD3A55

Accessibility & contrast

On white

13.66
#511B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#511B28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B28
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B28#FFFFFF#000000##FFFFFF
##511B281.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262728
Deuteranopia (green-blind)
#343227
Tritanopia (blue-blind)
#581420
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511b28;
/* rgb */ color: rgb(81, 27, 40);
/* oklch */ color: oklch(31.0% 0.082 8.4);
Tailwind
colors: {
  custom: {
    50: '#855a61',
    500: '#511b28',
    950: '#000000',
  },
}
SCSS
$custom: #511b28;
$custom-light: #855a61;
$custom-dark: #000000;
JSON
{
  "hex": "#511b28",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 40
  },
  "hsl": {
    "h": 345.556,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30993,
    "c": 0.08162,
    "h": 8.4
  },
  "luminance": 0.02686
}

Semantic roles & 50–950 ramp

primary
#511B28
secondary
#418776
accent
#DAB84E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511B28

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

Preview Lab → · Contrast checker → · Palette generator →

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