#502124#502124

#502124 is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.7% C 0.071 H 18.1°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#502124
RGBrgb(80, 33, 36)
HSLhsl(356, 42%, 22%)
HSVhsv(356, 59%, 31%)
CMYKcmyk(0%, 58.8%, 55%, 68.6%)
CIE-LABlab(19.72, 22.37, 8.71)
CIE-LCHlch(19.72, 24.01, 21.27°)
OKLaboklab(31.66% 0.0672 0.022)
OKLCHoklch(31.66% 0.071 18.1)
XYZxyz(4.1709, 2.9210, 2.0129)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502124 #21504D
analogous
#50213C #502124 #503621
triadic
#502124 #245021 #212450
tetradic
#502124 #3C5021 #21504D #362150
square
#502124 #3C5021 #21504D #362150
split-complementary
#502124 #215036 #213C50
monochromatic
#16090A #250F11 #502124 #7B3337 #A7454B

Accessibility & contrast

On white

13.26
#502124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#502124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502124
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502124#FFFFFF#000000##FFFFFF
##5021241.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2A24
Deuteranopia (green-blind)
#373323
Tritanopia (blue-blind)
#571A22
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #502124;
/* rgb */ color: rgb(80, 33, 36);
/* oklch */ color: oklch(31.7% 0.071 18.1);
Tailwind
colors: {
  custom: {
    50: '#845e5e',
    500: '#502124',
    950: '#000000',
  },
}
SCSS
$custom: #502124;
$custom-light: #845e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#502124",
  "rgb": {
    "r": 80,
    "g": 33,
    "b": 36
  },
  "hsl": {
    "h": 356.17,
    "s": 41.593,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31659,
    "c": 0.0707,
    "h": 18.1
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#502124
secondary
#498480
accent
#D1CA56
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #502124

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

Preview Lab → · Contrast checker → · Palette generator →

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