#52191C#52191C

#52191C is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.6% C 0.085 H 20.7°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#52191C
RGBrgb(82, 25, 28)
HSLhsl(357, 53%, 21%)
HSVhsv(357, 70%, 32%)
CMYKcmyk(0%, 69.5%, 65.9%, 67.8%)
CIE-LABlab(18.25, 26.84, 12.39)
CIE-LCHlch(18.25, 29.56, 24.78°)
OKLaboklab(30.56% 0.0797 0.0301)
OKLCHoklch(30.56% 0.085 20.7)
XYZxyz(4.0373, 2.5735, 1.3825)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52191C #19524F
analogous
#521938 #52191C #523219
triadic
#52191C #1C5219 #191C52
tetradic
#52191C #385219 #19524F #321952
square
#52191C #385219 #19524F #321952
split-complementary
#52191C #195232 #193852
monochromatic
#170708 #230B0C #52191C #81272C #B0363C

Accessibility & contrast

On white

13.87
#52191C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#52191C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52191C
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52191C#FFFFFF#000000##FFFFFF
##52191C1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251C
Deuteranopia (green-blind)
#36311B
Tritanopia (blue-blind)
#5A0D1B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #52191c;
/* rgb */ color: rgb(82, 25, 28);
/* oklch */ color: oklch(30.6% 0.085 20.7);
Tailwind
colors: {
  custom: {
    50: '#875958',
    500: '#52191c',
    950: '#000000',
  },
}
SCSS
$custom: #52191c;
$custom-light: #875958;
$custom-dark: #000000;
JSON
{
  "hex": "#52191c",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 28
  },
  "hsl": {
    "h": 356.842,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30561,
    "c": 0.08517,
    "h": 20.7
  },
  "luminance": 0.02573
}

Semantic roles & 50–950 ramp

primary
#52191C
secondary
#3E8885
accent
#DDD54B
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #52191C

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

Preview Lab → · Contrast checker → · Palette generator →

#52191C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva