#521733#521733

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

Color values

HEX#521733
RGBrgb(82, 23, 51)
HSLhsl(332, 56%, 21%)
HSVhsv(332, 72%, 32%)
CMYKcmyk(0%, 72%, 37.8%, 67.8%)
CIE-LABlab(18.57, 30.32, -3.45)
CIE-LCHlch(18.57, 30.51, 353.51°)
OKLaboklab(31.02% 0.0927 -0.0087)
OKLCHoklch(31.02% 0.093 354.6)
XYZxyz(4.3839, 2.6461, 3.4112)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521733 #175236
analogous
#521750 #521733 #521817
triadic
#521733 #335217 #173352
tetradic
#521733 #505217 #175236 #181752
square
#521733 #505217 #175236 #181752
split-complementary
#521733 #175218 #175052
monochromatic
#18070F #220A15 #521733 #822451 #B2326E

Accessibility & contrast

On white

13.73
#521733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521733
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521733#FFFFFF#000000##FFFFFF
##5217331.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #521733;
/* rgb */ color: rgb(82, 23, 51);
/* oklch */ color: oklch(31.0% 0.093 354.6);
Tailwind
colors: {
  custom: {
    50: '#86596a',
    500: '#521733',
    950: '#000000',
  },
}
SCSS
$custom: #521733;
$custom-light: #86596a;
$custom-dark: #000000;
JSON
{
  "hex": "#521733",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 51
  },
  "hsl": {
    "h": 331.525,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31021,
    "c": 0.09306,
    "h": 354.6
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#521733
secondary
#3C8964
accent
#DF9848
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #521733

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

Preview Lab → · Contrast checker → · Palette generator →

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