#521424#521424

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

Color values

HEX#521424
RGBrgb(82, 20, 36)
HSLhsl(345, 61%, 20%)
HSVhsv(345, 76%, 32%)
CMYKcmyk(0%, 75.6%, 56.1%, 67.8%)
CIE-LABlab(17.56, 29.95, 5.78)
CIE-LCHlch(17.56, 30.51, 10.93°)
OKLaboklab(30.11% 0.091 0.0148)
OKLCHoklch(30.11% 0.092 9.3)
XYZxyz(4.0486, 2.4221, 1.9230)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521424 #145242
analogous
#521443 #521424 #522314
triadic
#521424 #245214 #142452
tetradic
#521424 #435214 #145242 #231452
square
#521424 #435214 #145242 #231452
split-complementary
#521424 #145223 #144352
monochromatic
#19060B #21080E #521424 #83203A #B42C4F

Accessibility & contrast

On white

14.15
#521424 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521424
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521424#FFFFFF#000000##FFFFFF
##5214241.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232324
Deuteranopia (green-blind)
#333022
Tritanopia (blue-blind)
#5A081A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521424;
/* rgb */ color: rgb(82, 20, 36);
/* oklch */ color: oklch(30.1% 0.092 9.3);
Tailwind
colors: {
  custom: {
    50: '#87575e',
    500: '#521424',
    950: '#000000',
  },
}
SCSS
$custom: #521424;
$custom-light: #87575e;
$custom-dark: #000000;
JSON
{
  "hex": "#521424",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 36
  },
  "hsl": {
    "h": 344.516,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.30113,
    "c": 0.09219,
    "h": 9.3
  },
  "luminance": 0.02422
}

Semantic roles & 50–950 ramp

primary
#521424
secondary
#388A75
accent
#E4BB44
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #521424

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

Preview Lab → · Contrast checker → · Palette generator →

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