#521732#521732

#521732 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.0% C 0.093 H 355.7°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#521732
RGBrgb(82, 23, 50)
HSLhsl(333, 56%, 21%)
HSVhsv(333, 72%, 32%)
CMYKcmyk(0%, 72%, 39%, 67.8%)
CIE-LABlab(18.53, 30.18, -2.80)
CIE-LCHlch(18.53, 30.31, 354.70°)
OKLaboklab(30.98% 0.0923 -0.007)
OKLCHoklch(30.98% 0.093 355.7)
XYZxyz(4.3621, 2.6374, 3.2964)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521732 #175237
analogous
#52174F #521732 #521917
triadic
#521732 #325217 #173252
tetradic
#521732 #4F5217 #175237 #191752
square
#521732 #4F5217 #175237 #191752
split-complementary
#521732 #175219 #174F52
monochromatic
#18070F #220A15 #521732 #82244F #B2326C

Accessibility & contrast

On white

13.75
#521732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521732
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521732#FFFFFF#000000##FFFFFF
##5217321.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212633
Deuteranopia (green-blind)
#313131
Tritanopia (blue-blind)
#591222
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521732;
/* rgb */ color: rgb(82, 23, 50);
/* oklch */ color: oklch(31.0% 0.093 355.7);
Tailwind
colors: {
  custom: {
    50: '#865969',
    500: '#521732',
    950: '#000000',
  },
}
SCSS
$custom: #521732;
$custom-light: #865969;
$custom-dark: #000000;
JSON
{
  "hex": "#521732",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 50
  },
  "hsl": {
    "h": 332.542,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3098,
    "c": 0.09255,
    "h": 355.7
  },
  "luminance": 0.02637
}

Semantic roles & 50–950 ramp

primary
#521732
secondary
#3C8966
accent
#DF9A48
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #521732

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

Preview Lab → · Contrast checker → · Palette generator →

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