#52231E#52231E

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

Color values

HEX#52231E
RGBrgb(82, 35, 30)
HSLhsl(6, 46%, 22%)
HSVhsv(6, 63%, 32%)
CMYKcmyk(0%, 57.3%, 63.4%, 67.8%)
CIE-LABlab(20.40, 21.47, 13.80)
CIE-LCHlch(20.40, 25.53, 32.73°)
OKLaboklab(32.2% 0.0632 0.0335)
OKLCHoklch(32.2% 0.072 27.9)
XYZxyz(4.3154, 3.0901, 1.5972)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52231E #1E4D52
analogous
#521E33 #52231E #523D1E
triadic
#52231E #1E5223 #231E52
tetradic
#52231E #33521E #1E4D52 #3D1E52
square
#52231E #33521E #1E4D52 #3D1E52
split-complementary
#52231E #1E523D #1E3352
monochromatic
#160A08 #25100E #52231E #7F362E #AC493F

Accessibility & contrast

On white

12.98
#52231E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52231E
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52231E#FFFFFF#000000##FFFFFF
##52231E1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52231e;
/* rgb */ color: rgb(82, 35, 30);
/* oklch */ color: oklch(32.2% 0.072 27.9);
Tailwind
colors: {
  custom: {
    50: '#865f59',
    500: '#52231e',
    950: '#000000',
  },
}
SCSS
$custom: #52231e;
$custom-light: #865f59;
$custom-dark: #000000;
JSON
{
  "hex": "#52231e",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 5.769,
    "s": 46.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32198,
    "c": 0.07155,
    "h": 27.9
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#52231E
secondary
#458187
accent
#C9D652
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #52231E

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

Preview Lab → · Contrast checker → · Palette generator →

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