#50151B#50151B

#50151B is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.088 H 18.6°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#50151B
RGBrgb(80, 21, 27)
HSLhsl(354, 58%, 20%)
HSVhsv(354, 74%, 31%)
CMYKcmyk(0%, 73.7%, 66.3%, 68.6%)
CIE-LABlab(17.09, 27.95, 11.51)
CIE-LCHlch(17.09, 30.23, 22.38°)
OKLaboklab(29.61% 0.0833 0.028)
OKLCHoklch(29.61% 0.088 18.6)
XYZxyz(3.7746, 2.3215, 1.2860)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50151B #15504A
analogous
#501539 #50151B #502C15
triadic
#50151B #1B5015 #151B50
tetradic
#50151B #395015 #15504A #2C1550
square
#50151B #395015 #15504A #2C1550
split-complementary
#50151B #15502C #153950
monochromatic
#180608 #20080B #50151B #80222B #B12E3C

Accessibility & contrast

On white

14.34
#50151B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#50151B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50151B
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50151B#FFFFFF#000000##FFFFFF
##50151B1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24221B
Deuteranopia (green-blind)
#332F19
Tritanopia (blue-blind)
#580818
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #50151b;
/* rgb */ color: rgb(80, 21, 27);
/* oklch */ color: oklch(29.6% 0.088 18.6);
Tailwind
colors: {
  custom: {
    50: '#865757',
    500: '#50151b',
    950: '#000000',
  },
}
SCSS
$custom: #50151b;
$custom-light: #865757;
$custom-dark: #000000;
JSON
{
  "hex": "#50151b",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 27
  },
  "hsl": {
    "h": 353.898,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29612,
    "c": 0.08788,
    "h": 18.6
  },
  "luminance": 0.02321
}

Semantic roles & 50–950 ramp

primary
#50151B
secondary
#398880
accent
#E2D246
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #50151B

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

Preview Lab → · Contrast checker → · Palette generator →

#50151B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva