#521940#521940

#521940 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.9% C 0.098 H 342.3°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#521940
RGBrgb(82, 25, 64)
HSLhsl(319, 53%, 21%)
HSVhsv(319, 70%, 32%)
CMYKcmyk(0%, 69.5%, 22%, 67.8%)
CIE-LABlab(19.47, 31.31, -11.17)
CIE-LCHlch(19.47, 33.24, 340.36°)
OKLaboklab(31.87% 0.0936 -0.0299)
OKLCHoklch(31.87% 0.098 342.3)
XYZxyz(4.7529, 2.8597, 5.1512)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521940 #19522B
analogous
#471952 #521940 #521923
triadic
#521940 #405219 #194052
tetradic
#521940 #524719 #19522B #192352
square
#521940 #524719 #19522B #192352
split-complementary
#521940 #235219 #195247
monochromatic
#170712 #230B1B #521940 #812765 #B03689

Accessibility & contrast

On white

13.36
#521940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#521940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521940
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521940#FFFFFF#000000##FFFFFF
##5219401.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2941
Deuteranopia (green-blind)
#2E333F
Tritanopia (blue-blind)
#57192A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #521940;
/* rgb */ color: rgb(82, 25, 64);
/* oklch */ color: oklch(31.9% 0.098 342.3);
Tailwind
colors: {
  custom: {
    50: '#855a75',
    500: '#521940',
    950: '#000000',
  },
}
SCSS
$custom: #521940;
$custom-light: #855a75;
$custom-dark: #000000;
JSON
{
  "hex": "#521940",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 318.947,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3187,
    "c": 0.09824,
    "h": 342.3
  },
  "luminance": 0.02859
}

Semantic roles & 50–950 ramp

primary
#521940
secondary
#3E8856
accent
#DD794B
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #521940

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

Preview Lab → · Contrast checker → · Palette generator →

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