#52222D#52222D

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

Color values

HEX#52222D
RGBrgb(82, 34, 45)
HSLhsl(346, 41%, 23%)
HSVhsv(346, 59%, 32%)
CMYKcmyk(0%, 58.5%, 45.1%, 67.8%)
CIE-LABlab(20.55, 23.69, 3.65)
CIE-LCHlch(20.55, 23.97, 8.76°)
OKLaboklab(32.43% 0.072 0.0097)
OKLCHoklch(32.43% 0.073 7.6)
XYZxyz(4.5256, 3.1278, 2.8475)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52222D #225247
analogous
#522245 #52222D #522F22
triadic
#52222D #2D5222 #222D52
tetradic
#52222D #455222 #225247 #2F2252
square
#52222D #455222 #225247 #2F2252
split-complementary
#52222D #22522F #224552
monochromatic
#16090C #271015 #52222D #7D3445 #A9465C

Accessibility & contrast

On white

12.92
#52222D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#52222D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52222D
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52222D#FFFFFF#000000##FFFFFF
##52222D1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2C2D
Deuteranopia (green-blind)
#37352C
Tritanopia (blue-blind)
#591D26
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #52222d;
/* rgb */ color: rgb(82, 34, 45);
/* oklch */ color: oklch(32.4% 0.073 7.6);
Tailwind
colors: {
  custom: {
    50: '#855f65',
    500: '#52222d',
    950: '#000000',
  },
}
SCSS
$custom: #52222d;
$custom-light: #855f65;
$custom-dark: #000000;
JSON
{
  "hex": "#52222d",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 45
  },
  "hsl": {
    "h": 346.25,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32432,
    "c": 0.07261,
    "h": 7.6
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#52222D
secondary
#4A8678
accent
#D1B557
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0405
muted
#7C797A

Preview Lab

Preview with #52222D

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

Preview Lab → · Contrast checker → · Palette generator →

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