#52141D#52141D

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

Color values

HEX#52141D
RGBrgb(82, 20, 29)
HSLhsl(351, 61%, 20%)
HSVhsv(351, 76%, 32%)
CMYKcmyk(0%, 75.6%, 64.6%, 67.8%)
CIE-LABlab(17.38, 29.33, 10.55)
CIE-LCHlch(17.38, 31.17, 19.78°)
OKLaboklab(29.92% 0.0878 0.0259)
OKLCHoklch(29.92% 0.092 16.4)
XYZxyz(3.9520, 2.3834, 1.4141)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52141D #145249
analogous
#52143C #52141D #522A14
triadic
#52141D #1D5214 #141D52
tetradic
#52141D #3C5214 #145249 #2A1452
square
#52141D #3C5214 #145249 #2A1452
split-complementary
#52141D #14522A #143C52
monochromatic
#190609 #21080C #52141D #83202E #B42C40

Accessibility & contrast

On white

14.22
#52141D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#52141D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52141D
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52141D#FFFFFF#000000##FFFFFF
##52141D1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24221D
Deuteranopia (green-blind)
#342F1B
Tritanopia (blue-blind)
#5A0618
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #52141d;
/* rgb */ color: rgb(82, 20, 29);
/* oklch */ color: oklch(29.9% 0.092 16.4);
Tailwind
colors: {
  custom: {
    50: '#875658',
    500: '#52141d',
    950: '#000000',
  },
}
SCSS
$custom: #52141d;
$custom-light: #875658;
$custom-dark: #000000;
JSON
{
  "hex": "#52141d",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 29
  },
  "hsl": {
    "h": 351.29,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.29921,
    "c": 0.09154,
    "h": 16.4
  },
  "luminance": 0.02383
}

Semantic roles & 50–950 ramp

primary
#52141D
secondary
#388A7E
accent
#E4CD44
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52141D

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

Preview Lab → · Contrast checker → · Palette generator →

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