#52120D#52120D

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

Color values

HEX#52120D
RGBrgb(82, 18, 13)
HSLhsl(4, 73%, 19%)
HSVhsv(4, 84%, 32%)
CMYKcmyk(0%, 78%, 84.1%, 67.8%)
CIE-LABlab(16.78, 29.22, 20.09)
CIE-LCHlch(16.78, 35.46, 34.51°)
OKLaboklab(29.38% 0.0837 0.046)
OKLCHoklch(29.38% 0.096 28.8)
XYZxyz(3.7691, 2.2561, 0.6177)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52120D #0D4D52
analogous
#520D2A #52120D #52340D
triadic
#52120D #0D5212 #120D52
tetradic
#52120D #2A520D #0D4D52 #340D52
square
#52120D #2A520D #0D4D52 #340D52
split-complementary
#52120D #0D5234 #0D2A52
monochromatic
#1A0604 #1D0605 #52120D #871E15 #BC291E

Accessibility & contrast

On white

14.47
#52120D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52120D
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52120D#FFFFFF#000000##FFFFFF
##52120D1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52120d;
/* rgb */ color: rgb(82, 18, 13);
/* oklch */ color: oklch(29.4% 0.096 28.8);
Tailwind
colors: {
  custom: {
    50: '#89554c',
    500: '#52120d',
    950: '#000000',
  },
}
SCSS
$custom: #52120d;
$custom-light: #89554c;
$custom-dark: #000000;
JSON
{
  "hex": "#52120d",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 13
  },
  "hsl": {
    "h": 4.348,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29379,
    "c": 0.0955,
    "h": 28.8
  },
  "luminance": 0.02256
}

Semantic roles & 50–950 ramp

primary
#52120D
secondary
#2E868D
accent
#E2EF38
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877

Preview Lab

Preview with #52120D

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

Preview Lab → · Contrast checker → · Palette generator →

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