#52131C#52131C

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

Color values

HEX#52131C
RGBrgb(82, 19, 28)
HSLhsl(351, 62%, 20%)
HSVhsv(351, 77%, 32%)
CMYKcmyk(0%, 76.8%, 65.9%, 67.8%)
CIE-LABlab(17.20, 29.69, 11.01)
CIE-LCHlch(17.20, 31.67, 20.35°)
OKLaboklab(29.78% 0.0888 0.0269)
OKLCHoklch(29.78% 0.093 16.8)
XYZxyz(3.9225, 2.3440, 1.3443)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52131C #135249
analogous
#52133B #52131C #522A13
triadic
#52131C #1C5213 #131C52
tetradic
#52131C #3B5213 #135249 #2A1352
square
#52131C #3B5213 #135249 #2A1352
split-complementary
#52131C #13522A #133B52
monochromatic
#190608 #20070B #52131C #841F2D #B52A3E

Accessibility & contrast

On white

14.30
#52131C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52131C
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52131C#FFFFFF#000000##FFFFFF
##52131C1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24221C
Deuteranopia (green-blind)
#342F1A
Tritanopia (blue-blind)
#5A0417
Achromatopsia (no color)
#2A2A2A

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#52131C
secondary
#368A7E
accent
#E5CE42
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52131C

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

Preview Lab → · Contrast checker → · Palette generator →

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