#52141A#52141A

#52141A is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.092 H 19.3°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#52141A
RGBrgb(82, 20, 26)
HSLhsl(354, 61%, 20%)
HSVhsv(354, 76%, 32%)
CMYKcmyk(0%, 75.6%, 68.3%, 67.8%)
CIE-LABlab(17.32, 29.09, 12.59)
CIE-LCHlch(17.32, 31.70, 23.40°)
OKLaboklab(29.85% 0.0864 0.0303)
OKLCHoklch(29.85% 0.092 19.3)
XYZxyz(3.9167, 2.3693, 1.2282)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52141A #14524C
analogous
#521439 #52141A #522D14
triadic
#52141A #1A5214 #141A52
tetradic
#52141A #395214 #14524C #2D1452
square
#52141A #395214 #14524C #2D1452
split-complementary
#52141A #14522D #143952
monochromatic
#190608 #21080A #52141A #83202A #B42C39

Accessibility & contrast

On white

14.25
#52141A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#52141A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52141A
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52141A#FFFFFF#000000##FFFFFF
##52141A1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25221A
Deuteranopia (green-blind)
#342F18
Tritanopia (blue-blind)
#5B0517
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #52141a;
/* rgb */ color: rgb(82, 20, 26);
/* oklch */ color: oklch(29.9% 0.092 19.3);
Tailwind
colors: {
  custom: {
    50: '#885656',
    500: '#52141a',
    950: '#000000',
  },
}
SCSS
$custom: #52141a;
$custom-light: #885656;
$custom-dark: #000000;
JSON
{
  "hex": "#52141a",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 26
  },
  "hsl": {
    "h": 354.194,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.29851,
    "c": 0.09159,
    "h": 19.3
  },
  "luminance": 0.02369
}

Semantic roles & 50–950 ramp

primary
#52141A
secondary
#388A82
accent
#E4D444
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52141A

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

Preview Lab → · Contrast checker → · Palette generator →

#52141A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva