#52101C#52101C

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

Color values

HEX#52101C
RGBrgb(82, 16, 28)
HSLhsl(349, 67%, 19%)
HSVhsv(349, 80%, 32%)
CMYKcmyk(0%, 80.5%, 65.9%, 67.8%)
CIE-LABlab(16.74, 30.96, 10.41)
CIE-LCHlch(16.74, 32.66, 18.59°)
OKLaboklab(29.44% 0.0928 0.0255)
OKLCHoklch(29.44% 0.096 15.4)
XYZxyz(3.8750, 2.2488, 1.3284)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52101C #105246
analogous
#52103D #52101C #522510
triadic
#52101C #1C5210 #101C52
tetradic
#52101C #3D5210 #105246 #251052
square
#52101C #3D5210 #105246 #251052
split-complementary
#52101C #105225 #103D52
monochromatic
#1A0509 #1F060B #52101C #851A2D #B8243F

Accessibility & contrast

On white

14.49
#52101C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52101C
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52101C#FFFFFF#000000##FFFFFF
##52101C1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22211C
Deuteranopia (green-blind)
#332E1A
Tritanopia (blue-blind)
#5B0015
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #52101c;
/* rgb */ color: rgb(82, 16, 28);
/* oklch */ color: oklch(29.4% 0.096 15.4);
Tailwind
colors: {
  custom: {
    50: '#885457',
    500: '#52101c',
    950: '#000000',
  },
}
SCSS
$custom: #52101c;
$custom-light: #885457;
$custom-dark: #000000;
JSON
{
  "hex": "#52101c",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 28
  },
  "hsl": {
    "h": 349.091,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29438,
    "c": 0.09625,
    "h": 15.4
  },
  "luminance": 0.02248
}

Semantic roles & 50–950 ramp

primary
#52101C
secondary
#328C7B
accent
#EACB3E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52101C

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

Preview Lab → · Contrast checker → · Palette generator →

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