#52121E#52121E

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

Color values

HEX#52121E
RGBrgb(82, 18, 30)
HSLhsl(349, 64%, 20%)
HSVhsv(349, 78%, 32%)
CMYKcmyk(0%, 78%, 63.4%, 67.8%)
CIE-LABlab(17.09, 30.29, 9.44)
CIE-LCHlch(17.09, 31.72, 17.30°)
OKLaboklab(29.71% 0.0911 0.0233)
OKLCHoklch(29.71% 0.094 14.4)
XYZxyz(3.9307, 2.3207, 1.4690)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52121E #125246
analogous
#52123E #52121E #522612
triadic
#52121E #1E5212 #121E52
tetradic
#52121E #3E5212 #125246 #261252
square
#52121E #3E5212 #125246 #261252
split-complementary
#52121E #125226 #123E52
monochromatic
#190609 #20070C #52121E #841D30 #B62843

Accessibility & contrast

On white

14.34
#52121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52121E
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52121E#FFFFFF#000000##FFFFFF
##52121E1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221E
Deuteranopia (green-blind)
#332F1C
Tritanopia (blue-blind)
#5A0317
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #52121e;
/* rgb */ color: rgb(82, 18, 30);
/* oklch */ color: oklch(29.7% 0.094 14.4);
Tailwind
colors: {
  custom: {
    50: '#875559',
    500: '#52121e',
    950: '#000000',
  },
}
SCSS
$custom: #52121e;
$custom-light: #875559;
$custom-dark: #000000;
JSON
{
  "hex": "#52121e",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 348.75,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.2971,
    "c": 0.09402,
    "h": 14.4
  },
  "luminance": 0.0232
}

Semantic roles & 50–950 ramp

primary
#52121E
secondary
#358B7B
accent
#E7C841
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52121E

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

Preview Lab → · Contrast checker → · Palette generator →

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