#53271F#53271F

#53271F is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.1% C 0.068 H 31.6°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#53271F
RGBrgb(83, 39, 31)
HSLhsl(9, 46%, 22%)
HSVhsv(9, 63%, 33%)
CMYKcmyk(0%, 53%, 62.7%, 67.5%)
CIE-LABlab(21.54, 19.61, 14.63)
CIE-LCHlch(21.54, 24.46, 36.72°)
OKLaboklab(33.11% 0.0575 0.0354)
OKLCHoklch(33.11% 0.068 31.6)
XYZxyz(4.5405, 3.3895, 1.7112)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53271F #1F4B53
analogous
#531F31 #53271F #53411F
triadic
#53271F #1F5327 #271F53
tetradic
#53271F #31531F #1F4B53 #411F53
square
#53271F #31531F #1F4B53 #411F53
split-complementary
#53271F #1F5341 #1F3153
monochromatic
#160A08 #26120E #53271F #803C30 #AC5140

Accessibility & contrast

On white

12.52
#53271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#53271F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53271F
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53271F#FFFFFF#000000##FFFFFF
##53271F1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322E1E
Deuteranopia (green-blind)
#3D371E
Tritanopia (blue-blind)
#5B2025
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #53271f;
/* rgb */ color: rgb(83, 39, 31);
/* oklch */ color: oklch(33.1% 0.068 31.6);
Tailwind
colors: {
  custom: {
    50: '#87625a',
    500: '#53271f',
    950: '#000000',
  },
}
SCSS
$custom: #53271f;
$custom-light: #87625a;
$custom-dark: #000000;
JSON
{
  "hex": "#53271f",
  "rgb": {
    "r": 83,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 9.231,
    "s": 45.614,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33106,
    "c": 0.06756,
    "h": 31.6
  },
  "luminance": 0.03389
}

Semantic roles & 50–950 ramp

primary
#53271F
secondary
#467E88
accent
#C1D553
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0504
muted
#7D7979

Preview Lab

Preview with #53271F

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

Preview Lab → · Contrast checker → · Palette generator →

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