#52161E#52161E

#52161E is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.2% C 0.089 H 16.6°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#52161E
RGBrgb(82, 22, 30)
HSLhsl(352, 58%, 20%)
HSVhsv(352, 73%, 32%)
CMYKcmyk(0%, 73.2%, 63.4%, 67.8%)
CIE-LABlab(17.75, 28.48, 10.32)
CIE-LCHlch(17.75, 30.29, 19.91°)
OKLaboklab(30.2% 0.0853 0.0254)
OKLCHoklch(30.2% 0.089 16.6)
XYZxyz(4.0013, 2.4619, 1.4925)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52161E #16524A
analogous
#52163C #52161E #522C16
triadic
#52161E #1E5216 #161E52
tetradic
#52161E #3C5216 #16524A #2C1652
square
#52161E #3C5216 #16524A #2C1652
split-complementary
#52161E #16522C #163C52
monochromatic
#180609 #22090C #52161E #822330 #B33041

Accessibility & contrast

On white

14.07
#52161E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52161E
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52161E#FFFFFF#000000##FFFFFF
##52161E1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25241E
Deuteranopia (green-blind)
#34301C
Tritanopia (blue-blind)
#5A0919
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #52161e;
/* rgb */ color: rgb(82, 22, 30);
/* oklch */ color: oklch(30.2% 0.089 16.6);
Tailwind
colors: {
  custom: {
    50: '#875759',
    500: '#52161e',
    950: '#000000',
  },
}
SCSS
$custom: #52161e;
$custom-light: #875759;
$custom-dark: #000000;
JSON
{
  "hex": "#52161e",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 30
  },
  "hsl": {
    "h": 352,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30199,
    "c": 0.08901,
    "h": 16.6
  },
  "luminance": 0.02461
}

Semantic roles & 50–950 ramp

primary
#52161E
secondary
#3A897F
accent
#E1CC47
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52161E

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

Preview Lab → · Contrast checker → · Palette generator →

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