#521832#521832

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

Color values

HEX#521832
RGBrgb(82, 24, 50)
HSLhsl(333, 55%, 21%)
HSVhsv(333, 71%, 32%)
CMYKcmyk(0%, 70.7%, 39%, 67.8%)
CIE-LABlab(18.70, 29.70, -2.54)
CIE-LCHlch(18.70, 29.81, 355.11°)
OKLaboklab(31.11% 0.0908 -0.0063)
OKLCHoklch(31.11% 0.091 356)
XYZxyz(4.3823, 2.6779, 3.3031)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521832 #185238
analogous
#52184F #521832 #521B18
triadic
#521832 #325218 #183252
tetradic
#521832 #4F5218 #185238 #1B1852
square
#521832 #4F5218 #185238 #1B1852
split-complementary
#521832 #18521B #184F52
monochromatic
#18070E #230A15 #521832 #81264F #B1346C

Accessibility & contrast

On white

13.68
#521832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#521832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521832
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521832#FFFFFF#000000##FFFFFF
##5218321.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222733
Deuteranopia (green-blind)
#323131
Tritanopia (blue-blind)
#591323
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521832;
/* rgb */ color: rgb(82, 24, 50);
/* oklch */ color: oklch(31.1% 0.091 356.0);
Tailwind
colors: {
  custom: {
    50: '#855969',
    500: '#521832',
    950: '#000000',
  },
}
SCSS
$custom: #521832;
$custom-light: #855969;
$custom-dark: #000000;
JSON
{
  "hex": "#521832",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 50
  },
  "hsl": {
    "h": 333.103,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3111,
    "c": 0.091,
    "h": 356
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#521832
secondary
#3D8967
accent
#DE9C4A
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #521832

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

Preview Lab → · Contrast checker → · Palette generator →

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