#521139#521139

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

Color values

HEX#521139
RGBrgb(82, 17, 57)
HSLhsl(323, 66%, 19%)
HSVhsv(323, 79%, 32%)
CMYKcmyk(0%, 79.3%, 30.5%, 67.8%)
CIE-LABlab(17.88, 33.77, -8.73)
CIE-LCHlch(17.88, 34.88, 345.51°)
OKLaboklab(30.6% 0.1027 -0.023)
OKLCHoklch(30.6% 0.105 347.4)
XYZxyz(4.4188, 2.4906, 4.1181)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521139 #11522A
analogous
#4B1152 #521139 #521119
triadic
#521139 #395211 #113952
tetradic
#521139 #524B11 #11522A #111952
square
#521139 #524B11 #11522A #111952
split-complementary
#521139 #195211 #11524B
monochromatic
#190512 #1F0616 #521139 #851C5C #B7267F

Accessibility & contrast

On white

14.02
#521139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521139
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521139#FFFFFF#000000##FFFFFF
##5211391.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A253A
Deuteranopia (green-blind)
#2D3038
Tritanopia (blue-blind)
#580F23
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521139;
/* rgb */ color: rgb(82, 17, 57);
/* oklch */ color: oklch(30.6% 0.105 347.4);
Tailwind
colors: {
  custom: {
    50: '#86566f',
    500: '#521139',
    950: '#000000',
  },
}
SCSS
$custom: #521139;
$custom-light: #86566f;
$custom-dark: #000000;
JSON
{
  "hex": "#521139",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 57
  },
  "hsl": {
    "h": 323.077,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30596,
    "c": 0.10524,
    "h": 347.4
  },
  "luminance": 0.0249
}

Semantic roles & 50–950 ramp

primary
#521139
secondary
#348B55
accent
#E9803F
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #521139

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

Preview Lab → · Contrast checker → · Palette generator →

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