#52101D#52101D

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

Color values

HEX#52101D
RGBrgb(82, 16, 29)
HSLhsl(348, 67%, 19%)
HSVhsv(348, 80%, 32%)
CMYKcmyk(0%, 80.5%, 64.6%, 67.8%)
CIE-LABlab(16.77, 31.03, 9.72)
CIE-LCHlch(16.77, 32.52, 17.40°)
OKLaboklab(29.46% 0.0933 0.024)
OKLCHoklch(29.46% 0.096 14.4)
XYZxyz(3.8871, 2.2537, 1.3925)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52101D #105245
analogous
#52103E #52101D #522410
triadic
#52101D #1D5210 #101D52
tetradic
#52101D #3E5210 #105245 #241052
square
#52101D #3E5210 #105245 #241052
split-complementary
#52101D #105224 #103E52
monochromatic
#1A0509 #1F060B #52101D #851A2F #B82441

Accessibility & contrast

On white

14.48
#52101D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52101D
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52101D#FFFFFF#000000##FFFFFF
##52101D1.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)
#22211D
Deuteranopia (green-blind)
#332E1B
Tritanopia (blue-blind)
#5A0015
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #52101d;
/* rgb */ color: rgb(82, 16, 29);
/* oklch */ color: oklch(29.5% 0.096 14.4);
Tailwind
colors: {
  custom: {
    50: '#885558',
    500: '#52101d',
    950: '#000000',
  },
}
SCSS
$custom: #52101d;
$custom-light: #885558;
$custom-dark: #000000;
JSON
{
  "hex": "#52101d",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 29
  },
  "hsl": {
    "h": 348.182,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29463,
    "c": 0.0963,
    "h": 14.4
  },
  "luminance": 0.02253
}

Semantic roles & 50–950 ramp

primary
#52101D
secondary
#328C7A
accent
#EAC83E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52101D

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

Preview Lab → · Contrast checker → · Palette generator →

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