#522126#522126

#522126 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.1% C 0.073 H 15.9°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#522126
RGBrgb(82, 33, 38)
HSLhsl(354, 43%, 23%)
HSVhsv(354, 60%, 32%)
CMYKcmyk(0%, 59.8%, 53.7%, 67.8%)
CIE-LABlab(20.13, 23.43, 7.94)
CIE-LCHlch(20.13, 24.74, 18.71°)
OKLaboklab(32.05% 0.0706 0.0201)
OKLCHoklch(32.05% 0.073 15.9)
XYZxyz(4.3737, 3.0220, 2.1863)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522126 #21524D
analogous
#52213E #522126 #523521
triadic
#522126 #265221 #212652
tetradic
#522126 #3E5221 #21524D #352152
square
#522126 #3E5221 #21524D #352152
split-complementary
#522126 #215235 #213E52
monochromatic
#16090A #260F12 #522126 #7E333A #A9444E

Accessibility & contrast

On white

13.09
#522126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#522126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522126
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522126#FFFFFF#000000##FFFFFF
##5221261.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2A26
Deuteranopia (green-blind)
#383425
Tritanopia (blue-blind)
#5A1A23
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #522126;
/* rgb */ color: rgb(82, 33, 38);
/* oklch */ color: oklch(32.1% 0.073 15.9);
Tailwind
colors: {
  custom: {
    50: '#865e60',
    500: '#522126',
    950: '#000000',
  },
}
SCSS
$custom: #522126;
$custom-light: #865e60;
$custom-dark: #000000;
JSON
{
  "hex": "#522126",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 38
  },
  "hsl": {
    "h": 353.878,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32054,
    "c": 0.07341,
    "h": 15.9
  },
  "luminance": 0.03021
}

Semantic roles & 50–950 ramp

primary
#522126
secondary
#498680
accent
#D2C655
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #522126

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

Preview Lab → · Contrast checker → · Palette generator →

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