#521022#521022

#521022 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.6% C 0.097 H 9.5°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#521022
RGBrgb(82, 16, 34)
HSLhsl(344, 67%, 19%)
HSVhsv(344, 80%, 32%)
CMYKcmyk(0%, 80.5%, 58.5%, 67.8%)
CIE-LABlab(16.90, 31.46, 6.29)
CIE-LCHlch(16.90, 32.08, 11.31°)
OKLaboklab(29.6% 0.0955 0.016)
OKLCHoklch(29.6% 0.097 9.5)
XYZxyz(3.9541, 2.2805, 1.7450)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521022 #105240
analogous
#521043 #521022 #521F10
triadic
#521022 #225210 #102252
tetradic
#521022 #435210 #105240 #1F1052
square
#521022 #435210 #105240 #1F1052
split-complementary
#521022 #10521F #104352
monochromatic
#1A050B #1F060D #521022 #851A37 #B8244C

Accessibility & contrast

On white

14.42
#521022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#521022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521022
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521022#FFFFFF#000000##FFFFFF
##5210221.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212122
Deuteranopia (green-blind)
#322F20
Tritanopia (blue-blind)
#5A0217
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521022;
/* rgb */ color: rgb(82, 16, 34);
/* oklch */ color: oklch(29.6% 0.097 9.5);
Tailwind
colors: {
  custom: {
    50: '#87555c',
    500: '#521022',
    950: '#000000',
  },
}
SCSS
$custom: #521022;
$custom-light: #87555c;
$custom-dark: #000000;
JSON
{
  "hex": "#521022",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 34
  },
  "hsl": {
    "h": 343.636,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29601,
    "c": 0.09686,
    "h": 9.5
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#521022
secondary
#328C73
accent
#EABB3E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #521022

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

Preview Lab → · Contrast checker → · Palette generator →

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