#52141E#52141E

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

Color values

HEX#52141E
RGBrgb(82, 20, 30)
HSLhsl(350, 61%, 20%)
HSVhsv(350, 76%, 32%)
CMYKcmyk(0%, 75.6%, 63.4%, 67.8%)
CIE-LABlab(17.41, 29.41, 9.86)
CIE-LCHlch(17.41, 31.02, 18.54°)
OKLaboklab(29.95% 0.0883 0.0244)
OKLCHoklch(29.95% 0.092 15.4)
XYZxyz(3.9646, 2.3884, 1.4803)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52141E #145248
analogous
#52143D #52141E #522914
triadic
#52141E #1E5214 #141E52
tetradic
#52141E #3D5214 #145248 #291452
square
#52141E #3D5214 #145248 #291452
split-complementary
#52141E #145229 #143D52
monochromatic
#190609 #21080C #52141E #832030 #B42C42

Accessibility & contrast

On white

14.21
#52141E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52141E
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52141E#FFFFFF#000000##FFFFFF
##52141E1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24231E
Deuteranopia (green-blind)
#342F1C
Tritanopia (blue-blind)
#5A0618
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #52141e;
/* rgb */ color: rgb(82, 20, 30);
/* oklch */ color: oklch(29.9% 0.092 15.4);
Tailwind
colors: {
  custom: {
    50: '#875659',
    500: '#52141e',
    950: '#000000',
  },
}
SCSS
$custom: #52141e;
$custom-light: #875659;
$custom-dark: #000000;
JSON
{
  "hex": "#52141e",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 30
  },
  "hsl": {
    "h": 350.323,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.29947,
    "c": 0.09157,
    "h": 15.4
  },
  "luminance": 0.02388
}

Semantic roles & 50–950 ramp

primary
#52141E
secondary
#388A7D
accent
#E4CA44
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52141E

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

Preview Lab → · Contrast checker → · Palette generator →

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