#521327#521327

#521327 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.094 H 5.7°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#521327
RGBrgb(82, 19, 39)
HSLhsl(341, 62%, 20%)
HSVhsv(341, 77%, 32%)
CMYKcmyk(0%, 76.8%, 52.4%, 67.8%)
CIE-LABlab(17.49, 30.70, 3.53)
CIE-LCHlch(17.49, 30.90, 6.56°)
OKLaboklab(30.09% 0.0937 0.0093)
OKLCHoklch(30.09% 0.094 5.7)
XYZxyz(4.0791, 2.4066, 2.1688)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521327 #13523E
analogous
#521347 #521327 #521E13
triadic
#521327 #275213 #132752
tetradic
#521327 #475213 #13523E #1E1352
square
#521327 #475213 #13523E #1E1352
split-complementary
#521327 #13521E #134752
monochromatic
#19060C #20070F #521327 #841F3F #B52A56

Accessibility & contrast

On white

14.18
#521327 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#521327 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521327
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521327#FFFFFF#000000##FFFFFF
##5213271.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212327
Deuteranopia (green-blind)
#322F26
Tritanopia (blue-blind)
#5A081B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521327;
/* rgb */ color: rgb(82, 19, 39);
/* oklch */ color: oklch(30.1% 0.094 5.7);
Tailwind
colors: {
  custom: {
    50: '#875660',
    500: '#521327',
    950: '#000000',
  },
}
SCSS
$custom: #521327;
$custom-light: #875660;
$custom-dark: #000000;
JSON
{
  "hex": "#521327",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 39
  },
  "hsl": {
    "h": 340.952,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30089,
    "c": 0.09417,
    "h": 5.7
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#521327
secondary
#368A70
accent
#E5B242
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #521327

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

Preview Lab → · Contrast checker → · Palette generator →

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