#52141F#52141F

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

Color values

HEX#52141F
RGBrgb(82, 20, 31)
HSLhsl(349, 61%, 20%)
HSVhsv(349, 76%, 32%)
CMYKcmyk(0%, 75.6%, 62.2%, 67.8%)
CIE-LABlab(17.43, 29.49, 9.18)
CIE-LCHlch(17.43, 30.89, 17.29°)
OKLaboklab(29.97% 0.0887 0.0228)
OKLCHoklch(29.97% 0.092 14.4)
XYZxyz(3.9775, 2.3936, 1.5486)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52141F #145247
analogous
#52143E #52141F #522814
triadic
#52141F #1F5214 #141F52
tetradic
#52141F #3E5214 #145247 #281452
square
#52141F #3E5214 #145247 #281452
split-complementary
#52141F #145228 #143E52
monochromatic
#190609 #21080C #52141F #832032 #B42C44

Accessibility & contrast

On white

14.20
#52141F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52141F
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52141F#FFFFFF#000000##FFFFFF
##52141F1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52141f;
/* rgb */ color: rgb(82, 20, 31);
/* oklch */ color: oklch(30.0% 0.092 14.4);
Tailwind
colors: {
  custom: {
    50: '#87565a',
    500: '#52141f',
    950: '#000000',
  },
}
SCSS
$custom: #52141f;
$custom-light: #87565a;
$custom-dark: #000000;
JSON
{
  "hex": "#52141f",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 31
  },
  "hsl": {
    "h": 349.355,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.29972,
    "c": 0.09161,
    "h": 14.4
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#52141F
secondary
#388A7C
accent
#E4C844
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52141F

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

Preview Lab → · Contrast checker → · Palette generator →

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