#52272C#52272C

#52272C is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.3% C 0.064 H 13.9°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#52272C
RGBrgb(82, 39, 44)
HSLhsl(353, 36%, 24%)
HSVhsv(353, 52%, 32%)
CMYKcmyk(0%, 52.4%, 46.3%, 67.8%)
CIE-LABlab(21.68, 20.59, 5.94)
CIE-LCHlch(21.68, 21.43, 16.10°)
OKLaboklab(33.28% 0.0623 0.0154)
OKLCHoklch(33.28% 0.064 13.9)
XYZxyz(4.6601, 3.4272, 2.7985)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52272C #27524D
analogous
#522741 #52272C #523727
triadic
#52272C #2C5227 #272C52
tetradic
#52272C #415227 #27524D #372752
square
#52272C #415227 #27524D #372752
split-complementary
#52272C #275237 #274152
monochromatic
#150A0B #291316 #52272C #7B3B42 #A54E59

Accessibility & contrast

On white

12.46
#52272C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#52272C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52272C
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52272C#FFFFFF#000000##FFFFFF
##52272C1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302F2C
Deuteranopia (green-blind)
#3A372B
Tritanopia (blue-blind)
#592229
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #52272c;
/* rgb */ color: rgb(82, 39, 44);
/* oklch */ color: oklch(33.3% 0.064 13.9);
Tailwind
colors: {
  custom: {
    50: '#856265',
    500: '#52272c',
    950: '#000000',
  },
}
SCSS
$custom: #52272c;
$custom-light: #856265;
$custom-dark: #000000;
JSON
{
  "hex": "#52272c",
  "rgb": {
    "r": 82,
    "g": 39,
    "b": 44
  },
  "hsl": {
    "h": 353.023,
    "s": 35.537,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33277,
    "c": 0.06417,
    "h": 13.9
  },
  "luminance": 0.03427
}

Semantic roles & 50–950 ramp

primary
#52272C
secondary
#50857F
accent
#CCBF5C
background
#F8F5F6
surface
#EFEAEB
border
#CAC6C6
text
#0B0505
muted
#7C797A

Preview Lab

Preview with #52272C

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

Preview Lab → · Contrast checker → · Palette generator →

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