#521331#521331

#521331 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.098 H 355.4°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#521331
RGBrgb(82, 19, 49)
HSLhsl(331, 62%, 20%)
HSVhsv(331, 77%, 32%)
CMYKcmyk(0%, 76.8%, 40.2%, 67.8%)
CIE-LABlab(17.84, 31.86, -3.12)
CIE-LCHlch(17.84, 32.01, 354.41°)
OKLaboklab(30.46% 0.0976 -0.0078)
OKLCHoklch(30.46% 0.098 355.4)
XYZxyz(4.2672, 2.4818, 3.1595)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521331 #135234
analogous
#521350 #521331 #521513
triadic
#521331 #315213 #133152
tetradic
#521331 #505213 #135234 #151352
square
#521331 #505213 #135234 #151352
split-complementary
#521331 #135215 #135052
monochromatic
#19060F #200713 #521331 #841F4F #B52A6C

Accessibility & contrast

On white

14.04
#521331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521331
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521331#FFFFFF#000000##FFFFFF
##5213311.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #521331;
/* rgb */ color: rgb(82, 19, 49);
/* oklch */ color: oklch(30.5% 0.098 355.4);
Tailwind
colors: {
  custom: {
    50: '#865769',
    500: '#521331',
    950: '#000000',
  },
}
SCSS
$custom: #521331;
$custom-light: #865769;
$custom-dark: #000000;
JSON
{
  "hex": "#521331",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 49
  },
  "hsl": {
    "h": 331.429,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30457,
    "c": 0.09794,
    "h": 355.4
  },
  "luminance": 0.02481
}

Semantic roles & 50–950 ramp

primary
#521331
secondary
#368A62
accent
#E59842
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #521331

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

Preview Lab → · Contrast checker → · Palette generator →

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