#52282F#52282F

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

Color values

HEX#52282F
RGBrgb(82, 40, 47)
HSLhsl(350, 34%, 24%)
HSVhsv(350, 51%, 32%)
CMYKcmyk(0%, 51.2%, 42.7%, 67.8%)
CIE-LABlab(22.01, 20.38, 4.34)
CIE-LCHlch(22.01, 20.83, 12.03°)
OKLaboklab(33.55% 0.0618 0.0114)
OKLCHoklch(33.55% 0.063 10.5)
XYZxyz(4.7518, 3.5171, 3.1174)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52282F #28524B
analogous
#522844 #52282F #523628
triadic
#52282F #2F5228 #282F52
tetradic
#52282F #445228 #28524B #362852
square
#52282F #445228 #28524B #362852
split-complementary
#52282F #285236 #284452
monochromatic
#150A0C #291417 #52282F #7B3C47 #A4505E

Accessibility & contrast

On white

12.33
#52282F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52282F
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52282F#FFFFFF#000000##FFFFFF
##52282F1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30302F
Deuteranopia (green-blind)
#3A382E
Tritanopia (blue-blind)
#59242B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #52282f;
/* rgb */ color: rgb(82, 40, 47);
/* oklch */ color: oklch(33.6% 0.063 10.5);
Tailwind
colors: {
  custom: {
    50: '#856367',
    500: '#52282f',
    950: '#000000',
  },
}
SCSS
$custom: #52282f;
$custom-light: #856367;
$custom-dark: #000000;
JSON
{
  "hex": "#52282f",
  "rgb": {
    "r": 82,
    "g": 40,
    "b": 47
  },
  "hsl": {
    "h": 350,
    "s": 34.426,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33552,
    "c": 0.06283,
    "h": 10.5
  },
  "luminance": 0.03517
}

Semantic roles & 50–950 ramp

primary
#52282F
secondary
#51857C
accent
#CBB85D
background
#F8F5F6
surface
#EFEAEB
border
#CAC6C6
text
#0B0506
muted
#7C797A

Preview Lab

Preview with #52282F

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

Preview Lab → · Contrast checker → · Palette generator →

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