#52121B#52121B

#52121B is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.094 H 17.3°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#52121B
RGBrgb(82, 18, 27)
HSLhsl(352, 64%, 20%)
HSVhsv(352, 78%, 32%)
CMYKcmyk(0%, 78%, 67.1%, 67.8%)
CIE-LABlab(17.02, 30.05, 11.49)
CIE-LCHlch(17.02, 32.17, 20.92°)
OKLaboklab(29.64% 0.0897 0.0279)
OKLCHoklch(29.64% 0.094 17.3)
XYZxyz(3.8942, 2.3061, 1.2768)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52121B #125249
analogous
#52123B #52121B #522912
triadic
#52121B #1B5212 #121B52
tetradic
#52121B #3B5212 #125249 #291252
square
#52121B #3B5212 #125249 #291252
split-complementary
#52121B #125229 #123B52
monochromatic
#190608 #20070A #52121B #841D2C #B6283C

Accessibility & contrast

On white

14.37
#52121B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#52121B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52121B
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52121B#FFFFFF#000000##FFFFFF
##52121B1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23211B
Deuteranopia (green-blind)
#332F19
Tritanopia (blue-blind)
#5B0216
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #52121b;
/* rgb */ color: rgb(82, 18, 27);
/* oklch */ color: oklch(29.6% 0.094 17.3);
Tailwind
colors: {
  custom: {
    50: '#885557',
    500: '#52121b',
    950: '#000000',
  },
}
SCSS
$custom: #52121b;
$custom-light: #885557;
$custom-dark: #000000;
JSON
{
  "hex": "#52121b",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 27
  },
  "hsl": {
    "h": 351.563,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29635,
    "c": 0.09395,
    "h": 17.3
  },
  "luminance": 0.02306
}

Semantic roles & 50–950 ramp

primary
#52121B
secondary
#358B7F
accent
#E7D041
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52121B

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

Preview Lab → · Contrast checker → · Palette generator →

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