#50181F#50181F

#50181F is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.1% C 0.084 H 16.4°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#50181F
RGBrgb(80, 24, 31)
HSLhsl(353, 54%, 20%)
HSVhsv(353, 70%, 31%)
CMYKcmyk(0%, 70%, 61.2%, 68.6%)
CIE-LABlab(17.73, 26.82, 9.51)
CIE-LCHlch(17.73, 28.46, 19.53°)
OKLaboklab(30.12% 0.0805 0.0236)
OKLCHoklch(30.12% 0.084 16.4)
XYZxyz(3.8826, 2.4582, 1.5661)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50181F #185049
analogous
#50183B #50181F #502D18
triadic
#50181F #1F5018 #181F50
tetradic
#50181F #3B5018 #185049 #2D1850
square
#50181F #3B5018 #185049 #2D1850
split-complementary
#50181F #18502D #183B50
monochromatic
#180709 #210A0D #50181F #7F2631 #AE3443

Accessibility & contrast

On white

14.08
#50181F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#50181F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50181F
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50181F#FFFFFF#000000##FFFFFF
##50181F1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26241F
Deuteranopia (green-blind)
#34301E
Tritanopia (blue-blind)
#580E1B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #50181f;
/* rgb */ color: rgb(80, 24, 31);
/* oklch */ color: oklch(30.1% 0.084 16.4);
Tailwind
colors: {
  custom: {
    50: '#85585a',
    500: '#50181f',
    950: '#000000',
  },
}
SCSS
$custom: #50181f;
$custom-light: #85585a;
$custom-dark: #000000;
JSON
{
  "hex": "#50181f",
  "rgb": {
    "r": 80,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 352.5,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30118,
    "c": 0.08386,
    "h": 16.4
  },
  "luminance": 0.02458
}

Semantic roles & 50–950 ramp

primary
#50181F
secondary
#3D877E
accent
#DDCB4B
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #50181F

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

Preview Lab → · Contrast checker → · Palette generator →

#50181F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva