#52130D#52130D

#52130D is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.094 H 29.4°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#52130D
RGBrgb(82, 19, 13)
HSLhsl(5, 73%, 19%)
HSVhsv(5, 84%, 32%)
CMYKcmyk(0%, 76.8%, 84.1%, 67.8%)
CIE-LABlab(16.94, 28.78, 20.29)
CIE-LCHlch(16.94, 35.21, 35.18°)
OKLaboklab(29.5% 0.0823 0.0463)
OKLCHoklch(29.5% 0.094 29.4)
XYZxyz(3.7856, 2.2892, 0.6232)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52130D #0D4C52
analogous
#520D29 #52130D #52350D
triadic
#52130D #0D5213 #130D52
tetradic
#52130D #29520D #0D4C52 #350D52
square
#52130D #29520D #0D4C52 #350D52
split-complementary
#52130D #0D5235 #0D2952
monochromatic
#1A0604 #1D0705 #52130D #871F15 #BC2B1E

Accessibility & contrast

On white

14.41
#52130D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#52130D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52130D
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52130D#FFFFFF#000000##FFFFFF
##52130D1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25210C
Deuteranopia (green-blind)
#352F0A
Tritanopia (blue-blind)
#5B0012
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #52130d;
/* rgb */ color: rgb(82, 19, 13);
/* oklch */ color: oklch(29.5% 0.094 29.4);
Tailwind
colors: {
  custom: {
    50: '#89564c',
    500: '#52130d',
    950: '#000000',
  },
}
SCSS
$custom: #52130d;
$custom-light: #89564c;
$custom-dark: #000000;
JSON
{
  "hex": "#52130d",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 13
  },
  "hsl": {
    "h": 5.217,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29498,
    "c": 0.09447,
    "h": 29.4
  },
  "luminance": 0.02289
}

Semantic roles & 50–950 ramp

primary
#52130D
secondary
#2E858D
accent
#DFEF38
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877

Preview Lab

Preview with #52130D

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

Preview Lab → · Contrast checker → · Palette generator →

#52130D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva