#521335#521335

#521335 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.100 H 351.5°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#521335
RGBrgb(82, 19, 53)
HSLhsl(328, 62%, 20%)
HSVhsv(328, 77%, 32%)
CMYKcmyk(0%, 76.8%, 35.4%, 67.8%)
CIE-LABlab(18.00, 32.39, -5.72)
CIE-LCHlch(18.00, 32.89, 349.98°)
OKLaboklab(30.63% 0.099 -0.0148)
OKLCHoklch(30.63% 0.1 351.5)
XYZxyz(4.3554, 2.5171, 3.6240)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521335 #135230
analogous
#501352 #521335 #521316
triadic
#521335 #355213 #133552
tetradic
#521335 #525013 #135230 #131652
square
#521335 #525013 #135230 #131652
split-complementary
#521335 #165213 #135250
monochromatic
#190610 #200715 #521335 #841F55 #B52A75

Accessibility & contrast

On white

13.97
#521335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#521335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521335
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521335#FFFFFF#000000##FFFFFF
##5213351.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #521335;
/* rgb */ color: rgb(82, 19, 53);
/* oklch */ color: oklch(30.6% 0.100 351.5);
Tailwind
colors: {
  custom: {
    50: '#86576c',
    500: '#521335',
    950: '#000000',
  },
}
SCSS
$custom: #521335;
$custom-light: #86576c;
$custom-dark: #000000;
JSON
{
  "hex": "#521335",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 327.619,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30627,
    "c": 0.10007,
    "h": 351.5
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#521335
secondary
#368A5D
accent
#E58D42
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #521335

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

Preview Lab → · Contrast checker → · Palette generator →

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