#521640#521640

#521640 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.5% C 0.103 H 341.9°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#521640
RGBrgb(82, 22, 64)
HSLhsl(318, 58%, 20%)
HSVhsv(318, 73%, 32%)
CMYKcmyk(0%, 73.2%, 22%, 67.8%)
CIE-LABlab(18.96, 32.71, -11.96)
CIE-LCHlch(18.96, 34.83, 339.92°)
OKLaboklab(31.5% 0.0979 -0.0321)
OKLCHoklch(31.5% 0.103 341.9)
XYZxyz(4.6921, 2.7383, 5.1309)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521640 #165228
analogous
#461652 #521640 #521622
triadic
#521640 #405216 #164052
tetradic
#521640 #524616 #165228 #162252
square
#521640 #524616 #165228 #162252
split-complementary
#521640 #225216 #165246
monochromatic
#180613 #22091A #521640 #822366 #B3308B

Accessibility & contrast

On white

13.57
#521640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521640
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521640#FFFFFF#000000##FFFFFF
##5216401.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2841
Deuteranopia (green-blind)
#2D323F
Tritanopia (blue-blind)
#571728
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #521640;
/* rgb */ color: rgb(82, 22, 64);
/* oklch */ color: oklch(31.5% 0.103 341.9);
Tailwind
colors: {
  custom: {
    50: '#855975',
    500: '#521640',
    950: '#000000',
  },
}
SCSS
$custom: #521640;
$custom-light: #855975;
$custom-dark: #000000;
JSON
{
  "hex": "#521640",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 318,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31497,
    "c": 0.10297,
    "h": 341.9
  },
  "luminance": 0.02738
}

Semantic roles & 50–950 ramp

primary
#521640
secondary
#3A8952
accent
#E17547
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #521640

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

Preview Lab → · Contrast checker → · Palette generator →

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