#511F23#511F23

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

Color values

HEX#511F23
RGBrgb(81, 31, 35)
HSLhsl(355, 45%, 22%)
HSVhsv(355, 62%, 32%)
CMYKcmyk(0%, 61.7%, 56.8%, 68.2%)
CIE-LABlab(19.44, 23.84, 9.05)
CIE-LCHlch(19.44, 25.50, 20.78°)
OKLaboklab(31.47% 0.0716 0.0227)
OKLCHoklch(31.47% 0.075 17.6)
XYZxyz(4.1870, 2.8511, 1.9196)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F23 #1F514D
analogous
#511F3C #511F23 #51341F
triadic
#511F23 #23511F #1F2351
tetradic
#511F23 #3C511F #1F514D #341F51
square
#511F23 #3C511F #1F514D #341F51
split-complementary
#511F23 #1F5134 #1F3C51
monochromatic
#16080A #250E10 #511F23 #7D3036 #AA4149

Accessibility & contrast

On white

13.37
#511F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511F23
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F23#FFFFFF#000000##FFFFFF
##511F231.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2923
Deuteranopia (green-blind)
#373322
Tritanopia (blue-blind)
#591721
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511f23;
/* rgb */ color: rgb(81, 31, 35);
/* oklch */ color: oklch(31.5% 0.075 17.6);
Tailwind
colors: {
  custom: {
    50: '#855d5d',
    500: '#511f23',
    950: '#000000',
  },
}
SCSS
$custom: #511f23;
$custom-light: #855d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#511f23",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 35
  },
  "hsl": {
    "h": 355.2,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3147,
    "c": 0.07508,
    "h": 17.6
  },
  "luminance": 0.02851
}

Semantic roles & 50–950 ramp

primary
#511F23
secondary
#468681
accent
#D4CA53
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #511F23

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

Preview Lab → · Contrast checker → · Palette generator →

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