#521338#521338

#521338 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.8% C 0.102 H 348.6°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#521338
RGBrgb(82, 19, 56)
HSLhsl(325, 62%, 20%)
HSVhsv(325, 77%, 32%)
CMYKcmyk(0%, 76.8%, 31.7%, 67.8%)
CIE-LABlab(18.12, 32.81, -7.65)
CIE-LCHlch(18.12, 33.69, 346.88°)
OKLaboklab(30.76% 0.0999 -0.0201)
OKLCHoklch(30.76% 0.102 348.6)
XYZxyz(4.4266, 2.5456, 3.9988)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521338 #13522D
analogous
#4D1352 #521338 #521319
triadic
#521338 #385213 #133852
tetradic
#521338 #524D13 #13522D #131952
square
#521338 #524D13 #13522D #131952
split-complementary
#521338 #195213 #13524D
monochromatic
#190611 #200716 #521338 #841F5A #B52A7C

Accessibility & contrast

On white

13.92
#521338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521338
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521338#FFFFFF#000000##FFFFFF
##5213381.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2539
Deuteranopia (green-blind)
#2E3037
Tritanopia (blue-blind)
#581023
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #521338;
/* rgb */ color: rgb(82, 19, 56);
/* oklch */ color: oklch(30.8% 0.102 348.6);
Tailwind
colors: {
  custom: {
    50: '#86576e',
    500: '#521338',
    950: '#000000',
  },
}
SCSS
$custom: #521338;
$custom-light: #86576e;
$custom-dark: #000000;
JSON
{
  "hex": "#521338",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 56
  },
  "hsl": {
    "h": 324.762,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30762,
    "c": 0.10186,
    "h": 348.6
  },
  "luminance": 0.02545
}

Semantic roles & 50–950 ramp

primary
#521338
secondary
#368A59
accent
#E58642
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #521338

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

Preview Lab → · Contrast checker → · Palette generator →

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