#52100F#52100F

#52100F is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.2% C 0.097 H 26.3°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#52100F
RGBrgb(82, 16, 15)
HSLhsl(1, 69%, 19%)
HSVhsv(1, 82%, 32%)
CMYKcmyk(0%, 80.5%, 81.7%, 67.8%)
CIE-LABlab(16.50, 30.15, 18.74)
CIE-LCHlch(16.50, 35.50, 31.87°)
OKLaboklab(29.18% 0.0871 0.043)
OKLCHoklch(29.18% 0.097 26.3)
XYZxyz(3.7516, 2.1995, 0.6788)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52100F #0F5152
analogous
#520F30 #52100F #52320F
triadic
#52100F #0F5210 #100F52
tetradic
#52100F #30520F #0F5152 #320F52
square
#52100F #30520F #0F5152 #320F52
split-complementary
#52100F #0F5232 #0F3052
monochromatic
#1A0505 #1E0606 #52100F #861A18 #B92422

Accessibility & contrast

On white

14.59
#52100F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#52100F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52100F
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52100F#FFFFFF#000000##FFFFFF
##52100F1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24200E
Deuteranopia (green-blind)
#342E0D
Tritanopia (blue-blind)
#5B0011
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #52100f;
/* rgb */ color: rgb(82, 16, 15);
/* oklch */ color: oklch(29.2% 0.097 26.3);
Tailwind
colors: {
  custom: {
    50: '#89544e',
    500: '#52100f',
    950: '#000000',
  },
}
SCSS
$custom: #52100f;
$custom-light: #89544e;
$custom-dark: #000000;
JSON
{
  "hex": "#52100f",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 15
  },
  "hsl": {
    "h": 0.896,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29181,
    "c": 0.09717,
    "h": 26.3
  },
  "luminance": 0.02199
}

Semantic roles & 50–950 ramp

primary
#52100F
secondary
#318B8C
accent
#E9EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877

Preview Lab

Preview with #52100F

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

Preview Lab → · Contrast checker → · Palette generator →

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