#521422#521422

#521422 is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.1% C 0.092 H 11.3°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#521422
RGBrgb(82, 20, 34)
HSLhsl(346, 61%, 20%)
HSVhsv(346, 76%, 32%)
CMYKcmyk(0%, 75.6%, 58.5%, 67.8%)
CIE-LABlab(17.51, 29.76, 7.14)
CIE-LCHlch(17.51, 30.61, 13.49°)
OKLaboklab(30.06% 0.0901 0.0181)
OKLCHoklch(30.06% 0.092 11.3)
XYZxyz(4.0189, 2.4102, 1.7666)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521422 #145244
analogous
#521441 #521422 #522514
triadic
#521422 #225214 #142252
tetradic
#521422 #415214 #145244 #251452
square
#521422 #415214 #145244 #251452
split-complementary
#521422 #145225 #144152
monochromatic
#19060A #21080E #521422 #832036 #B42C4B

Accessibility & contrast

On white

14.17
#521422 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#521422 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521422
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521422#FFFFFF#000000##FFFFFF
##5214221.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232322
Deuteranopia (green-blind)
#333020
Tritanopia (blue-blind)
#5A071A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521422;
/* rgb */ color: rgb(82, 20, 34);
/* oklch */ color: oklch(30.1% 0.092 11.3);
Tailwind
colors: {
  custom: {
    50: '#87575c',
    500: '#521422',
    950: '#000000',
  },
}
SCSS
$custom: #521422;
$custom-light: #87575c;
$custom-dark: #000000;
JSON
{
  "hex": "#521422",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 34
  },
  "hsl": {
    "h": 346.452,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.30055,
    "c": 0.09188,
    "h": 11.3
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#521422
secondary
#388A78
accent
#E4C044
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #521422

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

Preview Lab → · Contrast checker → · Palette generator →

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