#52141B#52141B

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

Color values

HEX#52141B
RGBrgb(82, 20, 27)
HSLhsl(353, 61%, 20%)
HSVhsv(353, 76%, 32%)
CMYKcmyk(0%, 75.6%, 67.1%, 67.8%)
CIE-LABlab(17.34, 29.17, 11.91)
CIE-LCHlch(17.34, 31.51, 22.21°)
OKLaboklab(29.87% 0.0869 0.0289)
OKLCHoklch(29.87% 0.092 18.4)
XYZxyz(3.9281, 2.3738, 1.2881)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52141B #14524B
analogous
#52143A #52141B #522C14
triadic
#52141B #1B5214 #141B52
tetradic
#52141B #3A5214 #14524B #2C1452
square
#52141B #3A5214 #14524B #2C1452
split-complementary
#52141B #14522C #143A52
monochromatic
#190608 #21080B #52141B #83202B #B42C3B

Accessibility & contrast

On white

14.24
#52141B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52141B
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52141B#FFFFFF#000000##FFFFFF
##52141B1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24221B
Deuteranopia (green-blind)
#342F19
Tritanopia (blue-blind)
#5B0517
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #52141b;
/* rgb */ color: rgb(82, 20, 27);
/* oklch */ color: oklch(29.9% 0.092 18.4);
Tailwind
colors: {
  custom: {
    50: '#885657',
    500: '#52141b',
    950: '#000000',
  },
}
SCSS
$custom: #52141b;
$custom-light: #885657;
$custom-dark: #000000;
JSON
{
  "hex": "#52141b",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 27
  },
  "hsl": {
    "h": 353.226,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.29874,
    "c": 0.09156,
    "h": 18.4
  },
  "luminance": 0.02373
}

Semantic roles & 50–950 ramp

primary
#52141B
secondary
#388A81
accent
#E4D244
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52141B

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

Preview Lab → · Contrast checker → · Palette generator →

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