#521117#521117

#521117 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.4% C 0.095 H 20.4°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#521117
RGBrgb(82, 17, 23)
HSLhsl(354, 66%, 19%)
HSVhsv(354, 79%, 32%)
CMYKcmyk(0%, 79.3%, 72%, 67.8%)
CIE-LABlab(16.78, 30.19, 14.03)
CIE-LCHlch(16.78, 33.29, 24.93°)
OKLaboklab(29.43% 0.0892 0.0332)
OKLCHoklch(29.43% 0.095 20.4)
XYZxyz(3.8352, 2.2572, 1.0442)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521117 #11524C
analogous
#521138 #521117 #522C11
triadic
#521117 #175211 #111752
tetradic
#521117 #385211 #11524C #2C1152
square
#521117 #385211 #11524C #2C1152
split-complementary
#521117 #11522C #113852
monochromatic
#190507 #1F0609 #521117 #851C25 #B72633

Accessibility & contrast

On white

14.47
#521117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#521117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521117
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521117#FFFFFF#000000##FFFFFF
##5211171.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232117
Deuteranopia (green-blind)
#342E15
Tritanopia (blue-blind)
#5B0014
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #521117;
/* rgb */ color: rgb(82, 17, 23);
/* oklch */ color: oklch(29.4% 0.095 20.4);
Tailwind
colors: {
  custom: {
    50: '#885553',
    500: '#521117',
    950: '#000000',
  },
}
SCSS
$custom: #521117;
$custom-light: #885553;
$custom-dark: #000000;
JSON
{
  "hex": "#521117",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 23
  },
  "hsl": {
    "h": 354.462,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29433,
    "c": 0.09522,
    "h": 20.4
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#521117
secondary
#348B83
accent
#E9D93F
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521117

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

Preview Lab → · Contrast checker → · Palette generator →

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