#52120B#52120B

#52120B is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.4% C 0.096 H 30.0°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#52120B
RGBrgb(82, 18, 11)
HSLhsl(6, 76%, 18%)
HSVhsv(6, 87%, 32%)
CMYKcmyk(0%, 78%, 86.6%, 67.8%)
CIE-LABlab(16.75, 29.14, 20.97)
CIE-LCHlch(16.75, 35.90, 35.74°)
OKLaboklab(29.35% 0.083 0.048)
OKLCHoklch(29.35% 0.096 30)
XYZxyz(3.7568, 2.2512, 0.5533)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52120B #0B4B52
analogous
#520B27 #52120B #52350B
triadic
#52120B #0B5212 #120B52
tetradic
#52120B #27520B #0B4B52 #350B52
square
#52120B #27520B #0B4B52 #350B52
split-complementary
#52120B #0B5235 #0B2752
monochromatic
#1B0604 #1C0604 #52120B #881E12 #BE2A19

Accessibility & contrast

On white

14.48
#52120B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#52120B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52120B
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52120B#FFFFFF#000000##FFFFFF
##52120B1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25200A
Deuteranopia (green-blind)
#352E08
Tritanopia (blue-blind)
#5B0011
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #52120b;
/* rgb */ color: rgb(82, 18, 11);
/* oklch */ color: oklch(29.4% 0.096 30.0);
Tailwind
colors: {
  custom: {
    50: '#89554b',
    500: '#52120b',
    950: '#000000',
  },
}
SCSS
$custom: #52120b;
$custom-light: #89554b;
$custom-dark: #000000;
JSON
{
  "hex": "#52120b",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 11
  },
  "hsl": {
    "h": 5.915,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29353,
    "c": 0.09587,
    "h": 30
  },
  "luminance": 0.02251
}

Semantic roles & 50–950 ramp

primary
#52120B
secondary
#2B848E
accent
#E0F335
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #52120B

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

Preview Lab → · Contrast checker → · Palette generator →

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