#53171A#53171A

#53171A is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.4% C 0.089 H 21.4°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#53171A
RGBrgb(83, 23, 26)
HSLhsl(357, 57%, 21%)
HSVhsv(357, 72%, 33%)
CMYKcmyk(0%, 72.3%, 68.7%, 67.5%)
CIE-LABlab(18.04, 28.07, 13.56)
CIE-LCHlch(18.04, 31.17, 25.79°)
OKLaboklab(30.43% 0.083 0.0325)
OKLCHoklch(30.43% 0.089 21.4)
XYZxyz(4.0605, 2.5269, 1.2510)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53171A #175350
analogous
#531738 #53171A #533217
triadic
#53171A #1A5317 #171A53
tetradic
#53171A #385317 #175350 #321753
square
#53171A #385317 #175350 #321753
split-complementary
#53171A #175332 #173853
monochromatic
#180708 #230A0B #53171A #832429 #B33238

Accessibility & contrast

On white

13.95
#53171A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#53171A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53171A
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53171A#FFFFFF#000000##FFFFFF
##53171A1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27241A
Deuteranopia (green-blind)
#363118
Tritanopia (blue-blind)
#5C0919
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #53171a;
/* rgb */ color: rgb(83, 23, 26);
/* oklch */ color: oklch(30.4% 0.089 21.4);
Tailwind
colors: {
  custom: {
    50: '#885856',
    500: '#53171a',
    950: '#000000',
  },
}
SCSS
$custom: #53171a;
$custom-light: #885856;
$custom-dark: #000000;
JSON
{
  "hex": "#53171a",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 357,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3043,
    "c": 0.08915,
    "h": 21.4
  },
  "luminance": 0.02526
}

Semantic roles & 50–950 ramp

primary
#53171A
secondary
#3C8A86
accent
#E0D848
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #53171A

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

Preview Lab → · Contrast checker → · Palette generator →

#53171A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva