#52121C#52121C

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

Color values

HEX#52121C
RGBrgb(82, 18, 28)
HSLhsl(351, 64%, 20%)
HSVhsv(351, 78%, 32%)
CMYKcmyk(0%, 78%, 65.9%, 67.8%)
CIE-LABlab(17.04, 30.13, 10.81)
CIE-LCHlch(17.04, 32.01, 19.73°)
OKLaboklab(29.66% 0.0902 0.0264)
OKLCHoklch(29.66% 0.094 16.3)
XYZxyz(3.9060, 2.3108, 1.3387)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52121C #125248
analogous
#52123C #52121C #522812
triadic
#52121C #1C5212 #121C52
tetradic
#52121C #3C5212 #125248 #281252
square
#52121C #3C5212 #125248 #281252
split-complementary
#52121C #125228 #123C52
monochromatic
#190609 #20070B #52121C #841D2D #B6283E

Accessibility & contrast

On white

14.36
#52121C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52121C
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52121C#FFFFFF#000000##FFFFFF
##52121C1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23211C
Deuteranopia (green-blind)
#332F1A
Tritanopia (blue-blind)
#5A0216
Achromatopsia (no color)
#2A2A2A

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#52121C
secondary
#358B7D
accent
#E7CD41
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52121C

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

Preview Lab → · Contrast checker → · Palette generator →

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