#521839#521839

#521839 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.095 H 348.8°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#521839
RGBrgb(82, 24, 57)
HSLhsl(326, 55%, 21%)
HSVhsv(326, 71%, 32%)
CMYKcmyk(0%, 70.7%, 30.5%, 67.8%)
CIE-LABlab(18.98, 30.69, -7.05)
CIE-LCHlch(18.98, 31.49, 347.07°)
OKLaboklab(31.41% 0.0931 -0.0185)
OKLCHoklch(31.41% 0.095 348.8)
XYZxyz(4.5450, 2.7430, 4.1602)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521839 #185231
analogous
#4E1852 #521839 #52181C
triadic
#521839 #395218 #183952
tetradic
#521839 #524E18 #185231 #181C52
square
#521839 #524E18 #185231 #181C52
split-complementary
#521839 #1C5218 #18524E
monochromatic
#180710 #230A18 #521839 #81265A #B1347B

Accessibility & contrast

On white

13.56
#521839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#521839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521839
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521839#FFFFFF#000000##FFFFFF
##5218391.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20283A
Deuteranopia (green-blind)
#303238
Tritanopia (blue-blind)
#581626
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #521839;
/* rgb */ color: rgb(82, 24, 57);
/* oklch */ color: oklch(31.4% 0.095 348.8);
Tailwind
colors: {
  custom: {
    50: '#85596f',
    500: '#521839',
    950: '#000000',
  },
}
SCSS
$custom: #521839;
$custom-light: #85596f;
$custom-dark: #000000;
JSON
{
  "hex": "#521839",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 57
  },
  "hsl": {
    "h": 325.862,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31408,
    "c": 0.09495,
    "h": 348.8
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#521839
secondary
#3D895E
accent
#DE8A4A
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #521839

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

Preview Lab → · Contrast checker → · Palette generator →

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