#52282B#52282B

#52282B is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.4% C 0.063 H 16.5°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#52282B
RGBrgb(82, 40, 43)
HSLhsl(356, 34%, 24%)
HSVhsv(356, 51%, 32%)
CMYKcmyk(0%, 51.2%, 47.6%, 67.8%)
CIE-LABlab(21.89, 19.85, 6.93)
CIE-LCHlch(21.89, 21.03, 19.24°)
OKLaboklab(33.43% 0.06 0.0178)
OKLCHoklch(33.43% 0.063 16.5)
XYZxyz(4.6748, 3.4863, 2.7118)
Luminance0.0349 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52282B #28524F
analogous
#522840 #52282B #523A28
triadic
#52282B #2B5228 #282B52
tetradic
#52282B #405228 #28524F #3A2852
square
#52282B #405228 #28524F #3A2852
split-complementary
#52282B #28523A #284052
monochromatic
#150A0B #291415 #52282B #7B3C41 #A45056

Accessibility & contrast

On white

12.37
#52282B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#52282B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52282B
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52282B#FFFFFF#000000##FFFFFF
##52282B1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312F2B
Deuteranopia (green-blind)
#3B382A
Tritanopia (blue-blind)
#592329
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #52282b;
/* rgb */ color: rgb(82, 40, 43);
/* oklch */ color: oklch(33.4% 0.063 16.5);
Tailwind
colors: {
  custom: {
    50: '#856364',
    500: '#52282b',
    950: '#000000',
  },
}
SCSS
$custom: #52282b;
$custom-light: #856364;
$custom-dark: #000000;
JSON
{
  "hex": "#52282b",
  "rgb": {
    "r": 82,
    "g": 40,
    "b": 43
  },
  "hsl": {
    "h": 355.714,
    "s": 34.426,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33432,
    "c": 0.06254,
    "h": 16.5
  },
  "luminance": 0.03486
}

Semantic roles & 50–950 ramp

primary
#52282B
secondary
#518581
accent
#CBC35D
background
#F8F5F5
surface
#EFEAEA
border
#CAC6C6
text
#0B0505
muted
#7C7979

Preview Lab

Preview with #52282B

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

Preview Lab → · Contrast checker → · Palette generator →

#52282B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva