#52161B#52161B

#52161B is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.1% C 0.089 H 19.6°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#52161B
RGBrgb(82, 22, 27)
HSLhsl(355, 58%, 20%)
HSVhsv(355, 73%, 32%)
CMYKcmyk(0%, 73.2%, 67.1%, 67.8%)
CIE-LABlab(17.68, 28.24, 12.35)
CIE-LCHlch(17.68, 30.82, 23.62°)
OKLaboklab(30.13% 0.0839 0.0299)
OKLCHoklch(30.13% 0.089 19.6)
XYZxyz(3.9648, 2.4473, 1.3003)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52161B #16524D
analogous
#521639 #52161B #522F16
triadic
#52161B #1B5216 #161B52
tetradic
#52161B #395216 #16524D #2F1652
square
#52161B #395216 #16524D #2F1652
split-complementary
#52161B #16522F #163952
monochromatic
#180608 #22090B #52161B #82232B #B3303B

Accessibility & contrast

On white

14.10
#52161B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#52161B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52161B
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52161B#FFFFFF#000000##FFFFFF
##52161B1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26231B
Deuteranopia (green-blind)
#353019
Tritanopia (blue-blind)
#5A0818
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #52161b;
/* rgb */ color: rgb(82, 22, 27);
/* oklch */ color: oklch(30.1% 0.089 19.6);
Tailwind
colors: {
  custom: {
    50: '#875757',
    500: '#52161b',
    950: '#000000',
  },
}
SCSS
$custom: #52161b;
$custom-light: #875757;
$custom-dark: #000000;
JSON
{
  "hex": "#52161b",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 27
  },
  "hsl": {
    "h": 355,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30128,
    "c": 0.08909,
    "h": 19.6
  },
  "luminance": 0.02447
}

Semantic roles & 50–950 ramp

primary
#52161B
secondary
#3A8983
accent
#E1D447
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52161B

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

Preview Lab → · Contrast checker → · Palette generator →

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