#52120C#52120C

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

Color values

HEX#52120C
RGBrgb(82, 18, 12)
HSLhsl(5, 74%, 18%)
HSVhsv(5, 85%, 32%)
CMYKcmyk(0%, 78%, 85.4%, 67.8%)
CIE-LABlab(16.77, 29.18, 20.54)
CIE-LCHlch(16.77, 35.69, 35.15°)
OKLaboklab(29.37% 0.0833 0.047)
OKLCHoklch(29.37% 0.096 29.4)
XYZxyz(3.7628, 2.2536, 0.5846)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52120C #0C4C52
analogous
#520C29 #52120C #52350C
triadic
#52120C #0C5212 #120C52
tetradic
#52120C #29520C #0C4C52 #350C52
square
#52120C #29520C #0C4C52 #350C52
split-complementary
#52120C #0C5235 #0C2952
monochromatic
#1B0604 #1D0604 #52120C #871E14 #BD291C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52120C#FFFFFF#000000##FFFFFF
##52120C1.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)
#25200B
Deuteranopia (green-blind)
#352F09
Tritanopia (blue-blind)
#5B0011
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #52120c;
/* rgb */ color: rgb(82, 18, 12);
/* oklch */ color: oklch(29.4% 0.096 29.4);
Tailwind
colors: {
  custom: {
    50: '#89554c',
    500: '#52120c',
    950: '#000000',
  },
}
SCSS
$custom: #52120c;
$custom-light: #89554c;
$custom-dark: #000000;
JSON
{
  "hex": "#52120c",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 12
  },
  "hsl": {
    "h": 5.143,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29366,
    "c": 0.09568,
    "h": 29.4
  },
  "luminance": 0.02253
}

Semantic roles & 50–950 ramp

primary
#52120C
secondary
#2C858D
accent
#E1F137
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0301
muted
#7E7877

Preview Lab

Preview with #52120C

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

Preview Lab → · Contrast checker → · Palette generator →

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