#521224#521224

#521224 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 29.9% C 0.095 H 8.3°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#521224
RGBrgb(82, 18, 36)
HSLhsl(343, 64%, 20%)
HSVhsv(343, 78%, 32%)
CMYKcmyk(0%, 78%, 56.1%, 67.8%)
CIE-LABlab(17.25, 30.83, 5.34)
CIE-LCHlch(17.25, 31.29, 9.83°)
OKLaboklab(29.88% 0.0938 0.0137)
OKLCHoklch(29.88% 0.095 8.3)
XYZxyz(4.0148, 2.3544, 1.9118)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521224 #125240
analogous
#521244 #521224 #522012
triadic
#521224 #245212 #122452
tetradic
#521224 #445212 #125240 #201252
square
#521224 #445212 #125240 #201252
split-complementary
#521224 #125220 #124452
monochromatic
#19060B #20070E #521224 #841D3A #B62850

Accessibility & contrast

On white

14.28
#521224 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#521224 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521224
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521224#FFFFFF#000000##FFFFFF
##5212241.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222224
Deuteranopia (green-blind)
#322F22
Tritanopia (blue-blind)
#5A0519
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521224;
/* rgb */ color: rgb(82, 18, 36);
/* oklch */ color: oklch(29.9% 0.095 8.3);
Tailwind
colors: {
  custom: {
    50: '#87565e',
    500: '#521224',
    950: '#000000',
  },
}
SCSS
$custom: #521224;
$custom-light: #87565e;
$custom-dark: #000000;
JSON
{
  "hex": "#521224",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 36
  },
  "hsl": {
    "h": 343.125,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29879,
    "c": 0.09478,
    "h": 8.3
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#521224
secondary
#358B73
accent
#E7B841
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #521224

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

Preview Lab → · Contrast checker → · Palette generator →

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