#52231C#52231C

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

Color values

HEX#52231C
RGBrgb(82, 35, 28)
HSLhsl(8, 49%, 22%)
HSVhsv(8, 66%, 32%)
CMYKcmyk(0%, 57.3%, 65.9%, 67.8%)
CIE-LABlab(20.36, 21.30, 15.10)
CIE-LCHlch(20.36, 26.11, 35.34°)
OKLaboklab(32.16% 0.0623 0.0363)
OKLCHoklch(32.16% 0.072 30.2)
XYZxyz(4.2907, 3.0802, 1.4670)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52231C #1C4B52
analogous
#521C30 #52231C #523E1C
triadic
#52231C #1C5223 #231C52
tetradic
#52231C #30521C #1C4B52 #3E1C52
square
#52231C #30521C #1C4B52 #3E1C52
split-complementary
#52231C #1C523E #1C3052
monochromatic
#170A08 #24100C #52231C #80362C #AD4A3B

Accessibility & contrast

On white

13.00
#52231C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52231C
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52231C#FFFFFF#000000##FFFFFF
##52231C1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B1B
Deuteranopia (green-blind)
#3A351B
Tritanopia (blue-blind)
#5A1B21
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #52231c;
/* rgb */ color: rgb(82, 35, 28);
/* oklch */ color: oklch(32.2% 0.072 30.2);
Tailwind
colors: {
  custom: {
    50: '#865f58',
    500: '#52231c',
    950: '#000000',
  },
}
SCSS
$custom: #52231c;
$custom-light: #865f58;
$custom-dark: #000000;
JSON
{
  "hex": "#52231c",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 28
  },
  "hsl": {
    "h": 7.778,
    "s": 49.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32156,
    "c": 0.07209,
    "h": 30.2
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#52231C
secondary
#427F88
accent
#C7D94F
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #52231C

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

Preview Lab → · Contrast checker → · Palette generator →

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