#52231A#52231A

#52231A is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.1% C 0.073 H 32.4°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#52231A
RGBrgb(82, 35, 26)
HSLhsl(10, 52%, 21%)
HSVhsv(10, 68%, 32%)
CMYKcmyk(0%, 57.3%, 68.3%, 67.8%)
CIE-LABlab(20.33, 21.13, 16.40)
CIE-LCHlch(20.33, 26.75, 37.81°)
OKLaboklab(32.12% 0.0614 0.0389)
OKLCHoklch(32.12% 0.073 32.4)
XYZxyz(4.2675, 3.0710, 1.3451)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52231A #1A4952
analogous
#521A2D #52231A #523F1A
triadic
#52231A #1A5223 #231A52
tetradic
#52231A #2D521A #1A4952 #3F1A52
square
#52231A #2D521A #1A4952 #3F1A52
split-complementary
#52231A #1A523F #1A2D52
monochromatic
#170A07 #240F0B #52231A #803729 #AF4B37

Accessibility & contrast

On white

13.01
#52231A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#52231A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52231A
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52231A#FFFFFF#000000##FFFFFF
##52231A1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B19
Deuteranopia (green-blind)
#3B3519
Tritanopia (blue-blind)
#5A1A21
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #52231a;
/* rgb */ color: rgb(82, 35, 26);
/* oklch */ color: oklch(32.1% 0.073 32.4);
Tailwind
colors: {
  custom: {
    50: '#875f56',
    500: '#52231a',
    950: '#000000',
  },
}
SCSS
$custom: #52231a;
$custom-light: #875f56;
$custom-dark: #000000;
JSON
{
  "hex": "#52231a",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 26
  },
  "hsl": {
    "h": 9.643,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32117,
    "c": 0.07271,
    "h": 32.4
  },
  "luminance": 0.0307
}

Semantic roles & 50–950 ramp

primary
#52231A
secondary
#407D88
accent
#C4DB4C
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #52231A

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

Preview Lab → · Contrast checker → · Palette generator →

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