#521836#521836

#521836 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.093 H 351.8°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#521836
RGBrgb(82, 24, 54)
HSLhsl(329, 55%, 21%)
HSVhsv(329, 71%, 32%)
CMYKcmyk(0%, 70.7%, 34.1%, 67.8%)
CIE-LABlab(18.86, 30.25, -5.13)
CIE-LCHlch(18.86, 30.69, 350.38°)
OKLaboklab(31.28% 0.0922 -0.0132)
OKLCHoklch(31.28% 0.093 351.8)
XYZxyz(4.4724, 2.7139, 3.7776)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521836 #185234
analogous
#511852 #521836 #521819
triadic
#521836 #365218 #183652
tetradic
#521836 #525118 #185234 #181952
square
#521836 #525118 #185234 #181952
split-complementary
#521836 #195218 #185251
monochromatic
#180710 #230A17 #521836 #812655 #B13474

Accessibility & contrast

On white

13.61
#521836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521836
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521836#FFFFFF#000000##FFFFFF
##5218361.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212737
Deuteranopia (green-blind)
#313235
Tritanopia (blue-blind)
#581524
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #521836;
/* rgb */ color: rgb(82, 24, 54);
/* oklch */ color: oklch(31.3% 0.093 351.8);
Tailwind
colors: {
  custom: {
    50: '#85596d',
    500: '#521836',
    950: '#000000',
  },
}
SCSS
$custom: #521836;
$custom-light: #85596d;
$custom-dark: #000000;
JSON
{
  "hex": "#521836",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 54
  },
  "hsl": {
    "h": 328.966,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31276,
    "c": 0.09313,
    "h": 351.8
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

primary
#521836
secondary
#3D8962
accent
#DE914A
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #521836

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

Preview Lab → · Contrast checker → · Palette generator →

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