#521431#521431

#521431 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.097 H 355.7°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#521431
RGBrgb(82, 20, 49)
HSLhsl(332, 61%, 20%)
HSVhsv(332, 76%, 32%)
CMYKcmyk(0%, 75.6%, 40.2%, 67.8%)
CIE-LABlab(17.99, 31.43, -2.89)
CIE-LCHlch(17.99, 31.56, 354.75°)
OKLaboklab(30.57% 0.0963 -0.0072)
OKLCHoklch(30.57% 0.097 355.7)
XYZxyz(4.2845, 2.5164, 3.1652)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521431 #145235
analogous
#521450 #521431 #521614
triadic
#521431 #315214 #143152
tetradic
#521431 #505214 #145235 #161452
square
#521431 #505214 #145235 #161452
split-complementary
#521431 #145216 #145052
monochromatic
#19060F #210814 #521431 #83204E #B42C6C

Accessibility & contrast

On white

13.97
#521431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#521431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521431
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521431#FFFFFF#000000##FFFFFF
##5214311.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2532
Deuteranopia (green-blind)
#303030
Tritanopia (blue-blind)
#590E20
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521431;
/* rgb */ color: rgb(82, 20, 49);
/* oklch */ color: oklch(30.6% 0.097 355.7);
Tailwind
colors: {
  custom: {
    50: '#865769',
    500: '#521431',
    950: '#000000',
  },
}
SCSS
$custom: #521431;
$custom-light: #865769;
$custom-dark: #000000;
JSON
{
  "hex": "#521431",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 49
  },
  "hsl": {
    "h": 331.935,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.30572,
    "c": 0.09653,
    "h": 355.7
  },
  "luminance": 0.02516
}

Semantic roles & 50–950 ramp

primary
#521431
secondary
#388A64
accent
#E49944
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #521431

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

Preview Lab → · Contrast checker → · Palette generator →

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