#52131B#52131B

#52131B is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.8% C 0.093 H 17.8°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#52131B
RGBrgb(82, 19, 27)
HSLhsl(352, 62%, 20%)
HSVhsv(352, 77%, 32%)
CMYKcmyk(0%, 76.8%, 67.1%, 67.8%)
CIE-LABlab(17.18, 29.62, 11.70)
CIE-LCHlch(17.18, 31.84, 21.55°)
OKLaboklab(29.75% 0.0883 0.0284)
OKLCHoklch(29.75% 0.093 17.8)
XYZxyz(3.9108, 2.3393, 1.2823)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52131B #13524A
analogous
#52133B #52131B #522B13
triadic
#52131B #1B5213 #131B52
tetradic
#52131B #3B5213 #13524A #2B1352
square
#52131B #3B5213 #13524A #2B1352
split-complementary
#52131B #13522B #133B52
monochromatic
#190608 #20070B #52131B #841F2B #B52A3C

Accessibility & contrast

On white

14.31
#52131B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52131B
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52131B#FFFFFF#000000##FFFFFF
##52131B1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52131b;
/* rgb */ color: rgb(82, 19, 27);
/* oklch */ color: oklch(29.8% 0.093 17.8);
Tailwind
colors: {
  custom: {
    50: '#885657',
    500: '#52131b',
    950: '#000000',
  },
}
SCSS
$custom: #52131b;
$custom-light: #885657;
$custom-dark: #000000;
JSON
{
  "hex": "#52131b",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 27
  },
  "hsl": {
    "h": 352.381,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29752,
    "c": 0.09276,
    "h": 17.8
  },
  "luminance": 0.02339
}

Semantic roles & 50–950 ramp

primary
#52131B
secondary
#368A80
accent
#E5D142
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52131B

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

Preview Lab → · Contrast checker → · Palette generator →

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