#511C23#511C23

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

Color values

HEX#511C23
RGBrgb(81, 28, 35)
HSLhsl(352, 49%, 21%)
HSVhsv(352, 65%, 32%)
CMYKcmyk(0%, 65.4%, 56.8%, 68.2%)
CIE-LABlab(18.81, 25.50, 8.19)
CIE-LCHlch(18.81, 26.78, 17.80°)
OKLaboklab(31% 0.0768 0.0206)
OKLCHoklch(31% 0.08 15)
XYZxyz(4.1123, 2.7017, 1.8947)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C23 #1C514A
analogous
#511C3E #511C23 #51301C
triadic
#511C23 #23511C #1C2351
tetradic
#511C23 #3E511C #1C514A #301C51
square
#511C23 #3E511C #1C514A #301C51
split-complementary
#511C23 #1C5130 #1C3E51
monochromatic
#17080A #240C0F #511C23 #7E2C37 #AC3B4A

Accessibility & contrast

On white

13.63
#511C23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511C23
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C23#FFFFFF#000000##FFFFFF
##511C231.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282723
Deuteranopia (green-blind)
#363222
Tritanopia (blue-blind)
#59141F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511c23;
/* rgb */ color: rgb(81, 28, 35);
/* oklch */ color: oklch(31.0% 0.080 15.0);
Tailwind
colors: {
  custom: {
    50: '#855b5d',
    500: '#511c23',
    950: '#000000',
  },
}
SCSS
$custom: #511c23;
$custom-light: #855b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#511c23",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 35
  },
  "hsl": {
    "h": 352.075,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30996,
    "c": 0.07952,
    "h": 15
  },
  "luminance": 0.02701
}

Semantic roles & 50–950 ramp

primary
#511C23
secondary
#42877E
accent
#D8C650
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #511C23

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

Preview Lab → · Contrast checker → · Palette generator →

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