#53171B#53171B

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

Color values

HEX#53171B
RGBrgb(83, 23, 27)
HSLhsl(356, 57%, 21%)
HSVhsv(356, 72%, 33%)
CMYKcmyk(0%, 72.3%, 67.5%, 67.5%)
CIE-LABlab(18.06, 28.14, 12.89)
CIE-LCHlch(18.06, 30.95, 24.60°)
OKLaboklab(30.45% 0.0835 0.0311)
OKLCHoklch(30.45% 0.089 20.4)
XYZxyz(4.0719, 2.5315, 1.3109)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53171B #17534F
analogous
#531739 #53171B #533117
triadic
#53171B #1B5317 #171B53
tetradic
#53171B #395317 #17534F #311753
square
#53171B #395317 #17534F #311753
split-complementary
#53171B #175331 #173953
monochromatic
#180708 #230A0B #53171B #83242B #B3323A

Accessibility & contrast

On white

13.94
#53171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #53171B
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53171B#FFFFFF#000000##FFFFFF
##53171B1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #53171b;
/* rgb */ color: rgb(83, 23, 27);
/* oklch */ color: oklch(30.5% 0.089 20.4);
Tailwind
colors: {
  custom: {
    50: '#885857',
    500: '#53171b',
    950: '#000000',
  },
}
SCSS
$custom: #53171b;
$custom-light: #885857;
$custom-dark: #000000;
JSON
{
  "hex": "#53171b",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 356,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30451,
    "c": 0.08908,
    "h": 20.4
  },
  "luminance": 0.02531
}

Semantic roles & 50–950 ramp

primary
#53171B
secondary
#3C8A85
accent
#E0D648
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #53171B

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

Preview Lab → · Contrast checker → · Palette generator →

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