#50151F#50151F

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

Color values

HEX#50151F
RGBrgb(80, 21, 31)
HSLhsl(350, 58%, 20%)
HSVhsv(350, 74%, 31%)
CMYKcmyk(0%, 73.7%, 61.2%, 68.6%)
CIE-LABlab(17.18, 28.29, 8.78)
CIE-LCHlch(17.18, 29.62, 17.24°)
OKLaboklab(29.71% 0.0852 0.0219)
OKLCHoklch(29.71% 0.088 14.4)
XYZxyz(3.8241, 2.3412, 1.5466)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50151F #155046
analogous
#50153C #50151F #502915
triadic
#50151F #1F5015 #151F50
tetradic
#50151F #3C5015 #155046 #291550
square
#50151F #3C5015 #155046 #291550
split-complementary
#50151F #155029 #153C50
monochromatic
#180609 #20080C #50151F #802232 #B12E45

Accessibility & contrast

On white

14.30
#50151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#50151F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50151F
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50151F#FFFFFF#000000##FFFFFF
##50151F1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24231F
Deuteranopia (green-blind)
#332F1E
Tritanopia (blue-blind)
#580919
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #50151f;
/* rgb */ color: rgb(80, 21, 31);
/* oklch */ color: oklch(29.7% 0.088 14.4);
Tailwind
colors: {
  custom: {
    50: '#85575a',
    500: '#50151f',
    950: '#000000',
  },
}
SCSS
$custom: #50151f;
$custom-light: #85575a;
$custom-dark: #000000;
JSON
{
  "hex": "#50151f",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 349.831,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29712,
    "c": 0.08792,
    "h": 14.4
  },
  "luminance": 0.02341
}

Semantic roles & 50–950 ramp

primary
#50151F
secondary
#39887A
accent
#E2C746
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #50151F

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

Preview Lab → · Contrast checker → · Palette generator →

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