#52130E#52130E

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

Color values

HEX#52130E
RGBrgb(82, 19, 14)
HSLhsl(4, 71%, 19%)
HSVhsv(4, 83%, 32%)
CMYKcmyk(0%, 76.8%, 82.9%, 67.8%)
CIE-LABlab(16.95, 28.83, 19.81)
CIE-LCHlch(16.95, 34.98, 34.50°)
OKLaboklab(29.51% 0.0827 0.0453)
OKLCHoklch(29.51% 0.094 28.7)
XYZxyz(3.7922, 2.2919, 0.6581)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52130E #0E4D52
analogous
#520E2B #52130E #52350E
triadic
#52130E #0E5213 #130E52
tetradic
#52130E #2B520E #0E4D52 #350E52
square
#52130E #2B520E #0E4D52 #350E52
split-complementary
#52130E #0E5235 #0E2B52
monochromatic
#1A0604 #1E0705 #52130E #861F17 #BB2B20

Accessibility & contrast

On white

14.40
#52130E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52130E
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52130E#FFFFFF#000000##FFFFFF
##52130E1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52130e;
/* rgb */ color: rgb(82, 19, 14);
/* oklch */ color: oklch(29.5% 0.094 28.7);
Tailwind
colors: {
  custom: {
    50: '#89564d',
    500: '#52130e',
    950: '#000000',
  },
}
SCSS
$custom: #52130e;
$custom-light: #89564d;
$custom-dark: #000000;
JSON
{
  "hex": "#52130e",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 14
  },
  "hsl": {
    "h": 4.412,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29512,
    "c": 0.09429,
    "h": 28.7
  },
  "luminance": 0.02291
}

Semantic roles & 50–950 ramp

primary
#52130E
secondary
#2F868C
accent
#E0EE3A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877

Preview Lab

Preview with #52130E

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

Preview Lab → · Contrast checker → · Palette generator →

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