#511F24#511F24

#511F24 is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.5% C 0.075 H 16.4°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#511F24
RGBrgb(81, 31, 36)
HSLhsl(354, 45%, 22%)
HSVhsv(354, 62%, 32%)
CMYKcmyk(0%, 61.7%, 55.6%, 68.2%)
CIE-LABlab(19.46, 23.94, 8.38)
CIE-LCHlch(19.46, 25.37, 19.30°)
OKLaboklab(31.5% 0.072 0.0211)
OKLCHoklch(31.5% 0.075 16.4)
XYZxyz(4.2021, 2.8572, 1.9989)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F24 #1F514C
analogous
#511F3D #511F24 #51331F
triadic
#511F24 #24511F #1F2451
tetradic
#511F24 #3D511F #1F514C #331F51
square
#511F24 #3D511F #1F514C #331F51
split-complementary
#511F24 #1F5133 #1F3D51
monochromatic
#16080A #250E10 #511F24 #7D3038 #AA414B

Accessibility & contrast

On white

13.36
#511F24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511F24
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F24#FFFFFF#000000##FFFFFF
##511F241.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2924
Deuteranopia (green-blind)
#373323
Tritanopia (blue-blind)
#591821
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511f24;
/* rgb */ color: rgb(81, 31, 36);
/* oklch */ color: oklch(31.5% 0.075 16.4);
Tailwind
colors: {
  custom: {
    50: '#855d5e',
    500: '#511f24',
    950: '#000000',
  },
}
SCSS
$custom: #511f24;
$custom-light: #855d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#511f24",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 36
  },
  "hsl": {
    "h": 354,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31497,
    "c": 0.07507,
    "h": 16.4
  },
  "luminance": 0.02857
}

Semantic roles & 50–950 ramp

primary
#511F24
secondary
#46867F
accent
#D4C753
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #511F24

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

Preview Lab → · Contrast checker → · Palette generator →

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