#52130F#52130F

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

Color values

HEX#52130F
RGBrgb(82, 19, 15)
HSLhsl(4, 69%, 19%)
HSVhsv(4, 82%, 32%)
CMYKcmyk(0%, 76.8%, 81.7%, 67.8%)
CIE-LABlab(16.96, 28.88, 19.31)
CIE-LCHlch(16.96, 34.74, 33.77°)
OKLaboklab(29.53% 0.0831 0.0442)
OKLCHoklch(29.53% 0.094 28)
XYZxyz(3.7992, 2.2946, 0.6947)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52130F #0F4E52
analogous
#520F2D #52130F #52350F
triadic
#52130F #0F5213 #130F52
tetradic
#52130F #2D520F #0F4E52 #350F52
square
#52130F #2D520F #0F4E52 #350F52
split-complementary
#52130F #0F5235 #0F2D52
monochromatic
#1A0605 #1E0706 #52130F #861F18 #B92B22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52130F#FFFFFF#000000##FFFFFF
##52130F1.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)
#25210E
Deuteranopia (green-blind)
#352F0D
Tritanopia (blue-blind)
#5B0013
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #52130f;
/* rgb */ color: rgb(82, 19, 15);
/* oklch */ color: oklch(29.5% 0.094 28.0);
Tailwind
colors: {
  custom: {
    50: '#89564e',
    500: '#52130f',
    950: '#000000',
  },
}
SCSS
$custom: #52130f;
$custom-light: #89564e;
$custom-dark: #000000;
JSON
{
  "hex": "#52130f",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 15
  },
  "hsl": {
    "h": 3.582,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29526,
    "c": 0.09411,
    "h": 28
  },
  "luminance": 0.02294
}

Semantic roles & 50–950 ramp

primary
#52130F
secondary
#31878C
accent
#E1EC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877

Preview Lab

Preview with #52130F

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

Preview Lab → · Contrast checker → · Palette generator →

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