#522223#522223

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

Color values

HEX#522223
RGBrgb(82, 34, 35)
HSLhsl(359, 41%, 23%)
HSVhsv(359, 59%, 32%)
CMYKcmyk(0%, 58.5%, 57.3%, 67.8%)
CIE-LABlab(20.28, 22.54, 10.22)
CIE-LCHlch(20.28, 24.75, 24.39°)
OKLaboklab(32.14% 0.0674 0.0255)
OKLCHoklch(32.14% 0.072 20.7)
XYZxyz(4.3554, 3.0597, 1.9510)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522223 #225251
analogous
#52223B #522223 #523922
triadic
#522223 #235222 #222352
tetradic
#522223 #3B5222 #225251 #392252
square
#522223 #3B5222 #225251 #392252
split-complementary
#522223 #225239 #223B52
monochromatic
#160909 #271011 #522223 #7D3435 #A94648

Accessibility & contrast

On white

13.03
#522223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#522223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522223
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522223#FFFFFF#000000##FFFFFF
##5222231.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2B23
Deuteranopia (green-blind)
#393522
Tritanopia (blue-blind)
#5A1B23
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #522223;
/* rgb */ color: rgb(82, 34, 35);
/* oklch */ color: oklch(32.1% 0.072 20.7);
Tailwind
colors: {
  custom: {
    50: '#865f5d',
    500: '#522223',
    950: '#000000',
  },
}
SCSS
$custom: #522223;
$custom-light: #865f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#522223",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 35
  },
  "hsl": {
    "h": 358.75,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32143,
    "c": 0.07204,
    "h": 20.7
  },
  "luminance": 0.03059
}

Semantic roles & 50–950 ramp

primary
#522223
secondary
#4A8685
accent
#D1CF57
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #522223

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

Preview Lab → · Contrast checker → · Palette generator →

#522223 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva