#52130C#52130C

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

Color values

HEX#52130C
RGBrgb(82, 19, 12)
HSLhsl(6, 74%, 18%)
HSVhsv(6, 85%, 32%)
CMYKcmyk(0%, 76.8%, 85.4%, 67.8%)
CIE-LABlab(16.93, 28.74, 20.74)
CIE-LCHlch(16.93, 35.44, 35.82°)
OKLaboklab(29.49% 0.082 0.0473)
OKLCHoklch(29.49% 0.095 30)
XYZxyz(3.7793, 2.2867, 0.5901)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52130C #0C4B52
analogous
#520C28 #52130C #52360C
triadic
#52130C #0C5213 #130C52
tetradic
#52130C #28520C #0C4B52 #360C52
square
#52130C #28520C #0C4B52 #360C52
split-complementary
#52130C #0C5236 #0C2852
monochromatic
#1B0604 #1D0704 #52130C #871F14 #BD2C1C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52130C#FFFFFF#000000##FFFFFF
##52130C1.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)
#26210B
Deuteranopia (green-blind)
#352F09
Tritanopia (blue-blind)
#5B0012
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #52130c;
/* rgb */ color: rgb(82, 19, 12);
/* oklch */ color: oklch(29.5% 0.095 30.0);
Tailwind
colors: {
  custom: {
    50: '#89564c',
    500: '#52130c',
    950: '#000000',
  },
}
SCSS
$custom: #52130c;
$custom-light: #89564c;
$custom-dark: #000000;
JSON
{
  "hex": "#52130c",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 12
  },
  "hsl": {
    "h": 6,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29485,
    "c": 0.09467,
    "h": 30
  },
  "luminance": 0.02286
}

Semantic roles & 50–950 ramp

primary
#52130C
secondary
#2C848D
accent
#DEF137
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877

Preview Lab

Preview with #52130C

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

Preview Lab → · Contrast checker → · Palette generator →

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