#52121A#52121A

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

Color values

HEX#52121A
RGBrgb(82, 18, 26)
HSLhsl(353, 64%, 20%)
HSVhsv(353, 78%, 32%)
CMYKcmyk(0%, 78%, 68.3%, 67.8%)
CIE-LABlab(17.00, 29.98, 12.17)
CIE-LCHlch(17.00, 32.35, 22.10°)
OKLaboklab(29.61% 0.0893 0.0294)
OKLCHoklch(29.61% 0.094 18.2)
XYZxyz(3.8828, 2.3016, 1.2169)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52121A #12524A
analogous
#52123A #52121A #522A12
triadic
#52121A #1A5212 #121A52
tetradic
#52121A #3A5212 #12524A #2A1252
square
#52121A #3A5212 #12524A #2A1252
split-complementary
#52121A #12522A #123A52
monochromatic
#190608 #20070A #52121A #841D2A #B6283A

Accessibility & contrast

On white

14.38
#52121A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52121A
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52121A#FFFFFF#000000##FFFFFF
##52121A1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23211A
Deuteranopia (green-blind)
#342F18
Tritanopia (blue-blind)
#5B0215
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #52121a;
/* rgb */ color: rgb(82, 18, 26);
/* oklch */ color: oklch(29.6% 0.094 18.2);
Tailwind
colors: {
  custom: {
    50: '#885556',
    500: '#52121a',
    950: '#000000',
  },
}
SCSS
$custom: #52121a;
$custom-light: #885556;
$custom-dark: #000000;
JSON
{
  "hex": "#52121a",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 26
  },
  "hsl": {
    "h": 352.5,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29612,
    "c": 0.09396,
    "h": 18.2
  },
  "luminance": 0.02301
}

Semantic roles & 50–950 ramp

primary
#52121A
secondary
#358B80
accent
#E7D241
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52121A

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

Preview Lab → · Contrast checker → · Palette generator →

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