#52131E#52131E

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

Color values

HEX#52131E
RGBrgb(82, 19, 30)
HSLhsl(350, 62%, 20%)
HSVhsv(350, 77%, 32%)
CMYKcmyk(0%, 76.8%, 63.4%, 67.8%)
CIE-LABlab(17.24, 29.86, 9.65)
CIE-LCHlch(17.24, 31.37, 17.91°)
OKLaboklab(29.83% 0.0897 0.0238)
OKLCHoklch(29.83% 0.093 14.9)
XYZxyz(3.9473, 2.3539, 1.4745)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52131E #135247
analogous
#52133E #52131E #522813
triadic
#52131E #1E5213 #131E52
tetradic
#52131E #3E5213 #135247 #281352
square
#52131E #3E5213 #135247 #281352
split-complementary
#52131E #135228 #133E52
monochromatic
#190609 #20070C #52131E #841F30 #B52A42

Accessibility & contrast

On white

14.28
#52131E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52131E
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52131E#FFFFFF#000000##FFFFFF
##52131E1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221E
Deuteranopia (green-blind)
#332F1C
Tritanopia (blue-blind)
#5A0417
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #52131e;
/* rgb */ color: rgb(82, 19, 30);
/* oklch */ color: oklch(29.8% 0.093 14.9);
Tailwind
colors: {
  custom: {
    50: '#875659',
    500: '#52131e',
    950: '#000000',
  },
}
SCSS
$custom: #52131e;
$custom-light: #875659;
$custom-dark: #000000;
JSON
{
  "hex": "#52131e",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 30
  },
  "hsl": {
    "h": 349.524,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29826,
    "c": 0.0928,
    "h": 14.9
  },
  "luminance": 0.02353
}

Semantic roles & 50–950 ramp

primary
#52131E
secondary
#368A7C
accent
#E5C942
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0303
muted
#7D7878

Preview Lab

Preview with #52131E

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

Preview Lab → · Contrast checker → · Palette generator →

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