#52120E#52120E

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

Color values

HEX#52120E
RGBrgb(82, 18, 14)
HSLhsl(4, 71%, 19%)
HSVhsv(4, 83%, 32%)
CMYKcmyk(0%, 78%, 82.9%, 67.8%)
CIE-LABlab(16.79, 29.27, 19.62)
CIE-LCHlch(16.79, 35.23, 33.83°)
OKLaboklab(29.39% 0.0841 0.0449)
OKLCHoklch(29.39% 0.095 28.1)
XYZxyz(3.7757, 2.2587, 0.6525)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52120E #0E4E52
analogous
#520E2C #52120E #52340E
triadic
#52120E #0E5212 #120E52
tetradic
#52120E #2C520E #0E4E52 #340E52
square
#52120E #2C520E #0E4E52 #340E52
split-complementary
#52120E #0E5234 #0E2C52
monochromatic
#1A0604 #1E0705 #52120E #861D17 #BB2920

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52120E#FFFFFF#000000##FFFFFF
##52120E1.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)
#25210D
Deuteranopia (green-blind)
#352F0C
Tritanopia (blue-blind)
#5B0012
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #52120e;
/* rgb */ color: rgb(82, 18, 14);
/* oklch */ color: oklch(29.4% 0.095 28.1);
Tailwind
colors: {
  custom: {
    50: '#89554d',
    500: '#52120e',
    950: '#000000',
  },
}
SCSS
$custom: #52120e;
$custom-light: #89554d;
$custom-dark: #000000;
JSON
{
  "hex": "#52120e",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 14
  },
  "hsl": {
    "h": 3.529,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29392,
    "c": 0.09533,
    "h": 28.1
  },
  "luminance": 0.02258
}

Semantic roles & 50–950 ramp

primary
#52120E
secondary
#2F878C
accent
#E3EE3A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877

Preview Lab

Preview with #52120E

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

Preview Lab → · Contrast checker → · Palette generator →

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