#52120F#52120F

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

Color values

HEX#52120F
RGBrgb(82, 18, 15)
HSLhsl(3, 69%, 19%)
HSVhsv(3, 82%, 32%)
CMYKcmyk(0%, 78%, 81.7%, 67.8%)
CIE-LABlab(16.80, 29.31, 19.11)
CIE-LCHlch(16.80, 34.99, 33.11°)
OKLaboklab(29.41% 0.0845 0.0438)
OKLCHoklch(29.41% 0.095 27.4)
XYZxyz(3.7826, 2.2615, 0.6892)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52120F #0F4F52
analogous
#520F2E #52120F #52340F
triadic
#52120F #0F5212 #120F52
tetradic
#52120F #2E520F #0F4F52 #340F52
square
#52120F #2E520F #0F4F52 #340F52
split-complementary
#52120F #0F5234 #0F2E52
monochromatic
#1A0605 #1E0706 #52120F #861D18 #B92922

Accessibility & contrast

On white

14.46
#52120F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52120F
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52120F#FFFFFF#000000##FFFFFF
##52120F1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25210E
Deuteranopia (green-blind)
#352F0D
Tritanopia (blue-blind)
#5B0012
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #52120f;
/* rgb */ color: rgb(82, 18, 15);
/* oklch */ color: oklch(29.4% 0.095 27.4);
Tailwind
colors: {
  custom: {
    50: '#89554e',
    500: '#52120f',
    950: '#000000',
  },
}
SCSS
$custom: #52120f;
$custom-light: #89554e;
$custom-dark: #000000;
JSON
{
  "hex": "#52120f",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 15
  },
  "hsl": {
    "h": 2.687,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29407,
    "c": 0.09515,
    "h": 27.4
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#52120F
secondary
#31888C
accent
#E4EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877

Preview Lab

Preview with #52120F

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

Preview Lab → · Contrast checker → · Palette generator →

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