#52131A#52131A

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

Color values

HEX#52131A
RGBrgb(82, 19, 26)
HSLhsl(353, 62%, 20%)
HSVhsv(353, 77%, 32%)
CMYKcmyk(0%, 76.8%, 68.3%, 67.8%)
CIE-LABlab(17.15, 29.54, 12.38)
CIE-LCHlch(17.15, 32.03, 22.73°)
OKLaboklab(29.73% 0.0879 0.0298)
OKLCHoklch(29.73% 0.093 18.8)
XYZxyz(3.8994, 2.3347, 1.2224)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52131A #13524B
analogous
#52133A #52131A #522B13
triadic
#52131A #1A5213 #131A52
tetradic
#52131A #3A5213 #13524B #2B1352
square
#52131A #3A5213 #13524B #2B1352
split-complementary
#52131A #13522B #133A52
monochromatic
#190608 #20070A #52131A #841F2A #B52A3A

Accessibility & contrast

On white

14.32
#52131A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52131A
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52131A#FFFFFF#000000##FFFFFF
##52131A1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24221A
Deuteranopia (green-blind)
#342F18
Tritanopia (blue-blind)
#5B0316
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #52131a;
/* rgb */ color: rgb(82, 19, 26);
/* oklch */ color: oklch(29.7% 0.093 18.8);
Tailwind
colors: {
  custom: {
    50: '#885656',
    500: '#52131a',
    950: '#000000',
  },
}
SCSS
$custom: #52131a;
$custom-light: #885656;
$custom-dark: #000000;
JSON
{
  "hex": "#52131a",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 26
  },
  "hsl": {
    "h": 353.333,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29729,
    "c": 0.09279,
    "h": 18.8
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#52131A
secondary
#368A81
accent
#E5D342
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52131A

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

Preview Lab → · Contrast checker → · Palette generator →

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