#521638#521638

#521638 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.1% C 0.097 H 349.3°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#521638
RGBrgb(82, 22, 56)
HSLhsl(326, 58%, 20%)
HSVhsv(326, 73%, 32%)
CMYKcmyk(0%, 73.2%, 31.7%, 67.8%)
CIE-LABlab(18.60, 31.48, -6.92)
CIE-LCHlch(18.60, 32.24, 347.60°)
OKLaboklab(31.11% 0.0958 -0.0181)
OKLCHoklch(31.11% 0.097 349.3)
XYZxyz(4.4806, 2.6537, 4.0169)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521638 #165230
analogous
#4E1652 #521638 #52161A
triadic
#521638 #385216 #163852
tetradic
#521638 #524E16 #165230 #161A52
square
#521638 #524E16 #165230 #161A52
split-complementary
#521638 #1A5216 #16524E
monochromatic
#180610 #220917 #521638 #822359 #B3307A

Accessibility & contrast

On white

13.72
#521638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#521638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521638
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521638#FFFFFF#000000##FFFFFF
##5216381.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2739
Deuteranopia (green-blind)
#2F3137
Tritanopia (blue-blind)
#581324
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521638;
/* rgb */ color: rgb(82, 22, 56);
/* oklch */ color: oklch(31.1% 0.097 349.3);
Tailwind
colors: {
  custom: {
    50: '#85586e',
    500: '#521638',
    950: '#000000',
  },
}
SCSS
$custom: #521638;
$custom-light: #85586e;
$custom-dark: #000000;
JSON
{
  "hex": "#521638",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 56
  },
  "hsl": {
    "h": 326,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31111,
    "c": 0.09745,
    "h": 349.3
  },
  "luminance": 0.02653
}

Semantic roles & 50–950 ramp

primary
#521638
secondary
#3A895D
accent
#E18A47
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #521638

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

Preview Lab → · Contrast checker → · Palette generator →

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