#52101E#52101E

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

Color values

HEX#52101E
RGBrgb(82, 16, 30)
HSLhsl(347, 67%, 19%)
HSVhsv(347, 80%, 32%)
CMYKcmyk(0%, 80.5%, 63.4%, 67.8%)
CIE-LABlab(16.79, 31.11, 9.03)
CIE-LCHlch(16.79, 32.40, 16.19°)
OKLaboklab(29.49% 0.0937 0.0224)
OKLCHoklch(29.49% 0.096 13.4)
XYZxyz(3.8997, 2.2587, 1.4587)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52101E #105244
analogous
#52103F #52101E #522310
triadic
#52101E #1E5210 #101E52
tetradic
#52101E #3F5210 #105244 #231052
square
#52101E #3F5210 #105244 #231052
split-complementary
#52101E #105223 #103F52
monochromatic
#1A0509 #1F060B #52101E #851A31 #B82443

Accessibility & contrast

On white

14.47
#52101E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52101E
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52101E#FFFFFF#000000##FFFFFF
##52101E1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22211E
Deuteranopia (green-blind)
#322E1C
Tritanopia (blue-blind)
#5A0016
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #52101e;
/* rgb */ color: rgb(82, 16, 30);
/* oklch */ color: oklch(29.5% 0.096 13.4);
Tailwind
colors: {
  custom: {
    50: '#875559',
    500: '#52101e',
    950: '#000000',
  },
}
SCSS
$custom: #52101e;
$custom-light: #875559;
$custom-dark: #000000;
JSON
{
  "hex": "#52101e",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 30
  },
  "hsl": {
    "h": 347.273,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29489,
    "c": 0.09637,
    "h": 13.4
  },
  "luminance": 0.02258
}

Semantic roles & 50–950 ramp

primary
#52101E
secondary
#328C79
accent
#EAC63E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52101E

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

Preview Lab → · Contrast checker → · Palette generator →

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