#52231D#52231D

#52231D is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.2% C 0.072 H 29.1°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#52231D
RGBrgb(82, 35, 29)
HSLhsl(7, 48%, 22%)
HSVhsv(7, 65%, 32%)
CMYKcmyk(0%, 57.3%, 64.6%, 67.8%)
CIE-LABlab(20.38, 21.38, 14.45)
CIE-LCHlch(20.38, 25.81, 34.06°)
OKLaboklab(32.18% 0.0628 0.0349)
OKLCHoklch(32.18% 0.072 29.1)
XYZxyz(4.3028, 3.0851, 1.5311)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52231D #1D4C52
analogous
#521D32 #52231D #523E1D
triadic
#52231D #1D5223 #231D52
tetradic
#52231D #32521D #1D4C52 #3E1D52
square
#52231D #32521D #1D4C52 #3E1D52
split-complementary
#52231D #1D523E #1D3252
monochromatic
#170A08 #25100D #52231D #7F362D #AC4A3D

Accessibility & contrast

On white

12.99
#52231D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#52231D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52231D
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52231D#FFFFFF#000000##FFFFFF
##52231D1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B1C
Deuteranopia (green-blind)
#3A351C
Tritanopia (blue-blind)
#5A1B22
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #52231d;
/* rgb */ color: rgb(82, 35, 29);
/* oklch */ color: oklch(32.2% 0.072 29.1);
Tailwind
colors: {
  custom: {
    50: '#865f59',
    500: '#52231d',
    950: '#000000',
  },
}
SCSS
$custom: #52231d;
$custom-light: #865f59;
$custom-dark: #000000;
JSON
{
  "hex": "#52231d",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 29
  },
  "hsl": {
    "h": 6.792,
    "s": 47.748,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32177,
    "c": 0.07181,
    "h": 29.1
  },
  "luminance": 0.03085
}

Semantic roles & 50–950 ramp

primary
#52231D
secondary
#448087
accent
#C8D750
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #52231D

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

Preview Lab → · Contrast checker → · Palette generator →

#52231D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva