#511515#511515

#511515 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.7% C 0.090 H 24.4°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#511515
RGBrgb(81, 21, 21)
HSLhsl(0, 59%, 20%)
HSVhsv(0, 74%, 32%)
CMYKcmyk(0%, 74.1%, 74.1%, 68.2%)
CIE-LABlab(17.18, 27.91, 15.87)
CIE-LCHlch(17.18, 32.11, 29.63°)
OKLaboklab(29.68% 0.0817 0.0371)
OKLCHoklch(29.68% 0.09 24.4)
XYZxyz(3.7973, 2.3403, 0.9611)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511515 #155151
analogous
#511533 #511515 #513315
triadic
#511515 #155115 #151551
tetradic
#511515 #335115 #155151 #331551
square
#511515 #335115 #155151 #331551
split-complementary
#511515 #155133 #153351
monochromatic
#180606 #200808 #511515 #822222 #B22E2E

Accessibility & contrast

On white

14.31
#511515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#511515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511515
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511515#FFFFFF#000000##FFFFFF
##5115151.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252214
Deuteranopia (green-blind)
#352F13
Tritanopia (blue-blind)
#5A0516
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #511515;
/* rgb */ color: rgb(81, 21, 21);
/* oklch */ color: oklch(29.7% 0.090 24.4);
Tailwind
colors: {
  custom: {
    50: '#875752',
    500: '#511515',
    950: '#000000',
  },
}
SCSS
$custom: #511515;
$custom-light: #875752;
$custom-dark: #000000;
JSON
{
  "hex": "#511515",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 21
  },
  "hsl": {
    "h": 0,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.29679,
    "c": 0.08968,
    "h": 24.4
  },
  "luminance": 0.0234
}

Semantic roles & 50–950 ramp

primary
#511515
secondary
#398989
accent
#E2E246
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #511515

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

Preview Lab → · Contrast checker → · Palette generator →

#511515 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva