#521131#521131

#521131 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.101 H 354.9°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#521131
RGBrgb(82, 17, 49)
HSLhsl(330, 66%, 19%)
HSVhsv(330, 79%, 32%)
CMYKcmyk(0%, 79.3%, 40.2%, 67.8%)
CIE-LABlab(17.54, 32.69, -3.56)
CIE-LCHlch(17.54, 32.88, 353.78°)
OKLaboklab(30.24% 0.1003 -0.009)
OKLCHoklch(30.24% 0.101 354.9)
XYZxyz(4.2348, 2.4170, 3.1487)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521131 #115232
analogous
#521152 #521131 #521211
triadic
#521131 #315211 #113152
tetradic
#521131 #525211 #115232 #121152
square
#521131 #525211 #115232 #121152
split-complementary
#521131 #115212 #115252
monochromatic
#19050F #1F0613 #521131 #851C4F #B7266E

Accessibility & contrast

On white

14.16
#521131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521131
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521131#FFFFFF#000000##FFFFFF
##5211311.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2332
Deuteranopia (green-blind)
#2F2F30
Tritanopia (blue-blind)
#590A1F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521131;
/* rgb */ color: rgb(82, 17, 49);
/* oklch */ color: oklch(30.2% 0.101 354.9);
Tailwind
colors: {
  custom: {
    50: '#865669',
    500: '#521131',
    950: '#000000',
  },
}
SCSS
$custom: #521131;
$custom-light: #865669;
$custom-dark: #000000;
JSON
{
  "hex": "#521131",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 49
  },
  "hsl": {
    "h": 330.462,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30239,
    "c": 0.10066,
    "h": 354.9
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#521131
secondary
#348B60
accent
#E9953F
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #521131

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

Preview Lab → · Contrast checker → · Palette generator →

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