#522127#522127

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

Color values

HEX#522127
RGBrgb(82, 33, 39)
HSLhsl(353, 43%, 23%)
HSVhsv(353, 60%, 32%)
CMYKcmyk(0%, 59.8%, 52.4%, 67.8%)
CIE-LABlab(20.16, 23.55, 7.28)
CIE-LCHlch(20.16, 24.64, 17.17°)
OKLaboklab(32.08% 0.0711 0.0186)
OKLCHoklch(32.08% 0.073 14.6)
XYZxyz(4.3901, 3.0285, 2.2724)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522127 #21524C
analogous
#522140 #522127 #523321
triadic
#522127 #275221 #212752
tetradic
#522127 #405221 #21524C #332152
square
#522127 #405221 #21524C #332152
split-complementary
#522127 #215233 #214052
monochromatic
#16090A #260F12 #522127 #7E333C #A94451

Accessibility & contrast

On white

13.08
#522127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522127
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522127#FFFFFF#000000##FFFFFF
##5221271.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #522127;
/* rgb */ color: rgb(82, 33, 39);
/* oklch */ color: oklch(32.1% 0.073 14.6);
Tailwind
colors: {
  custom: {
    50: '#865e60',
    500: '#522127',
    950: '#000000',
  },
}
SCSS
$custom: #522127;
$custom-light: #865e60;
$custom-dark: #000000;
JSON
{
  "hex": "#522127",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 39
  },
  "hsl": {
    "h": 352.653,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32082,
    "c": 0.07344,
    "h": 14.6
  },
  "luminance": 0.03028
}

Semantic roles & 50–950 ramp

primary
#522127
secondary
#49867F
accent
#D2C355
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #522127

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

Preview Lab → · Contrast checker → · Palette generator →

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