#521326#521326

#521326 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.094 H 6.7°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#521326
RGBrgb(82, 19, 38)
HSLhsl(342, 62%, 20%)
HSVhsv(342, 77%, 32%)
CMYKcmyk(0%, 76.8%, 53.7%, 67.8%)
CIE-LABlab(17.46, 30.59, 4.20)
CIE-LCHlch(17.46, 30.88, 7.82°)
OKLaboklab(30.06% 0.0933 0.011)
OKLCHoklch(30.06% 0.094 6.7)
XYZxyz(4.0627, 2.4001, 2.0827)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521326 #13523F
analogous
#521345 #521326 #522013
triadic
#521326 #265213 #132652
tetradic
#521326 #455213 #13523F #201352
square
#521326 #455213 #13523F #201352
split-complementary
#521326 #135220 #134552
monochromatic
#19060C #20070F #521326 #841F3D #B52A54

Accessibility & contrast

On white

14.19
#521326 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#521326 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521326
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521326#FFFFFF#000000##FFFFFF
##5213261.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222326
Deuteranopia (green-blind)
#322F24
Tritanopia (blue-blind)
#5A081B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521326;
/* rgb */ color: rgb(82, 19, 38);
/* oklch */ color: oklch(30.1% 0.094 6.7);
Tailwind
colors: {
  custom: {
    50: '#875660',
    500: '#521326',
    950: '#000000',
  },
}
SCSS
$custom: #521326;
$custom-light: #875660;
$custom-dark: #000000;
JSON
{
  "hex": "#521326",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 38
  },
  "hsl": {
    "h": 341.905,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30057,
    "c": 0.09392,
    "h": 6.7
  },
  "luminance": 0.024
}

Semantic roles & 50–950 ramp

primary
#521326
secondary
#368A71
accent
#E5B442
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #521326

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

Preview Lab → · Contrast checker → · Palette generator →

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