#521734#521734

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

Color values

HEX#521734
RGBrgb(82, 23, 52)
HSLhsl(331, 56%, 21%)
HSVhsv(331, 72%, 32%)
CMYKcmyk(0%, 72%, 36.6%, 67.8%)
CIE-LABlab(18.61, 30.45, -4.10)
CIE-LCHlch(18.61, 30.73, 352.33°)
OKLaboklab(31.06% 0.093 -0.0105)
OKLCHoklch(31.06% 0.094 353.6)
XYZxyz(4.4061, 2.6551, 3.5286)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521734 #175235
analogous
#521751 #521734 #521717
triadic
#521734 #345217 #173452
tetradic
#521734 #515217 #175235 #171752
square
#521734 #515217 #175235 #171752
split-complementary
#521734 #175217 #175152
monochromatic
#18070F #220A16 #521734 #822452 #B23271

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##521734#FFFFFF#000000##FFFFFF
##5217341.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)
#212635
Deuteranopia (green-blind)
#313133
Tritanopia (blue-blind)
#591323
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521734;
/* rgb */ color: rgb(82, 23, 52);
/* oklch */ color: oklch(31.1% 0.094 353.6);
Tailwind
colors: {
  custom: {
    50: '#85596b',
    500: '#521734',
    950: '#000000',
  },
}
SCSS
$custom: #521734;
$custom-light: #85596b;
$custom-dark: #000000;
JSON
{
  "hex": "#521734",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 52
  },
  "hsl": {
    "h": 330.508,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31062,
    "c": 0.09359,
    "h": 353.6
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#521734
secondary
#3C8963
accent
#DF9548
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #521734

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

Preview Lab → · Contrast checker → · Palette generator →

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