#52101B#52101B

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

Color values

HEX#52101B
RGBrgb(82, 16, 27)
HSLhsl(350, 67%, 19%)
HSVhsv(350, 80%, 32%)
CMYKcmyk(0%, 80.5%, 67.1%, 67.8%)
CIE-LABlab(16.72, 30.88, 11.10)
CIE-LCHlch(16.72, 32.81, 19.77°)
OKLaboklab(29.41% 0.0924 0.027)
OKLCHoklch(29.41% 0.096 16.3)
XYZxyz(3.8632, 2.2441, 1.2664)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52101B #105247
analogous
#52103C #52101B #522610
triadic
#52101B #1B5210 #101B52
tetradic
#52101B #3C5210 #105247 #261052
square
#52101B #3C5210 #105247 #261052
split-complementary
#52101B #105226 #103C52
monochromatic
#1A0508 #1F060A #52101B #851A2C #B8243D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52101B#FFFFFF#000000##FFFFFF
##52101B1.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)
#22201B
Deuteranopia (green-blind)
#332E19
Tritanopia (blue-blind)
#5B0015
Achromatopsia (no color)
#292929

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#52101B
secondary
#328C7D
accent
#EACD3E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52101B

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

Preview Lab → · Contrast checker → · Palette generator →

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