#52241E#52241E

#52241E is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.4% C 0.070 H 29.1°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#52241E
RGBrgb(82, 36, 30)
HSLhsl(7, 46%, 22%)
HSVhsv(7, 63%, 32%)
CMYKcmyk(0%, 56.1%, 63.4%, 67.8%)
CIE-LABlab(20.63, 20.88, 14.10)
CIE-LCHlch(20.63, 25.19, 34.04°)
OKLaboklab(32.38% 0.0614 0.0342)
OKLCHoklch(32.38% 0.07 29.1)
XYZxyz(4.3452, 3.1498, 1.6072)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52241E #1E4C52
analogous
#521E32 #52241E #523E1E
triadic
#52241E #1E5224 #241E52
tetradic
#52241E #32521E #1E4C52 #3E1E52
square
#52241E #32521E #1E4C52 #3E1E52
split-complementary
#52241E #1E523E #1E3252
monochromatic
#160A08 #25100E #52241E #7F382E #AC4B3F

Accessibility & contrast

On white

12.89
#52241E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#52241E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52241E
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52241E#FFFFFF#000000##FFFFFF
##52241E1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2C1D
Deuteranopia (green-blind)
#3B351D
Tritanopia (blue-blind)
#5A1C23
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #52241e;
/* rgb */ color: rgb(82, 36, 30);
/* oklch */ color: oklch(32.4% 0.070 29.1);
Tailwind
colors: {
  custom: {
    50: '#866059',
    500: '#52241e',
    950: '#000000',
  },
}
SCSS
$custom: #52241e;
$custom-light: #866059;
$custom-dark: #000000;
JSON
{
  "hex": "#52241e",
  "rgb": {
    "r": 82,
    "g": 36,
    "b": 30
  },
  "hsl": {
    "h": 6.923,
    "s": 46.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32375,
    "c": 0.07026,
    "h": 29.1
  },
  "luminance": 0.03149
}

Semantic roles & 50–950 ramp

primary
#52241E
secondary
#457F87
accent
#C7D652
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #52241E

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

Preview Lab → · Contrast checker → · Palette generator →

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