#521336#521336

#521336 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.7% C 0.101 H 350.5°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#521336
RGBrgb(82, 19, 54)
HSLhsl(327, 62%, 20%)
HSVhsv(327, 77%, 32%)
CMYKcmyk(0%, 76.8%, 34.1%, 67.8%)
CIE-LABlab(18.04, 32.53, -6.36)
CIE-LCHlch(18.04, 33.14, 348.93°)
OKLaboklab(30.67% 0.0993 -0.0165)
OKLCHoklch(30.67% 0.101 350.5)
XYZxyz(4.3786, 2.5264, 3.7464)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521336 #13522F
analogous
#4F1352 #521336 #521316
triadic
#521336 #365213 #133652
tetradic
#521336 #524F13 #13522F #131652
square
#521336 #524F13 #13522F #131652
split-complementary
#521336 #165213 #13524F
monochromatic
#190610 #200715 #521336 #841F57 #B52A77

Accessibility & contrast

On white

13.95
#521336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#521336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521336
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521336#FFFFFF#000000##FFFFFF
##5213361.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2537
Deuteranopia (green-blind)
#2F3035
Tritanopia (blue-blind)
#590F22
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521336;
/* rgb */ color: rgb(82, 19, 54);
/* oklch */ color: oklch(30.7% 0.101 350.5);
Tailwind
colors: {
  custom: {
    50: '#86576d',
    500: '#521336',
    950: '#000000',
  },
}
SCSS
$custom: #521336;
$custom-light: #86576d;
$custom-dark: #000000;
JSON
{
  "hex": "#521336",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 54
  },
  "hsl": {
    "h": 326.667,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30671,
    "c": 0.10065,
    "h": 350.5
  },
  "luminance": 0.02526
}

Semantic roles & 50–950 ramp

primary
#521336
secondary
#368A5C
accent
#E58B42
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #521336

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

Preview Lab → · Contrast checker → · Palette generator →

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