#521026#521026

#521026 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.098 H 5.5°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#521026
RGBrgb(82, 16, 38)
HSLhsl(340, 67%, 19%)
HSVhsv(340, 80%, 32%)
CMYKcmyk(0%, 80.5%, 53.7%, 67.8%)
CIE-LABlab(17.01, 31.84, 3.57)
CIE-LCHlch(17.01, 32.04, 6.39°)
OKLaboklab(29.73% 0.0973 0.0094)
OKLCHoklch(29.73% 0.098 5.5)
XYZxyz(4.0152, 2.3049, 2.0668)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521026 #10523C
analogous
#521047 #521026 #521B10
triadic
#521026 #265210 #102652
tetradic
#521026 #475210 #10523C #1B1052
square
#521026 #475210 #10523C #1B1052
split-complementary
#521026 #10521B #104752
monochromatic
#1A050C #1F060E #521026 #851A3E #B82455

Accessibility & contrast

On white

14.38
#521026 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#521026 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521026
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521026#FFFFFF#000000##FFFFFF
##5210261.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202226
Deuteranopia (green-blind)
#312F24
Tritanopia (blue-blind)
#5A0419
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521026;
/* rgb */ color: rgb(82, 16, 38);
/* oklch */ color: oklch(29.7% 0.098 5.5);
Tailwind
colors: {
  custom: {
    50: '#875560',
    500: '#521026',
    950: '#000000',
  },
}
SCSS
$custom: #521026;
$custom-light: #875560;
$custom-dark: #000000;
JSON
{
  "hex": "#521026",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 38
  },
  "hsl": {
    "h": 340,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29725,
    "c": 0.09773,
    "h": 5.5
  },
  "luminance": 0.02304
}

Semantic roles & 50–950 ramp

primary
#521026
secondary
#328C6E
accent
#EAB13E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #521026

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

Preview Lab → · Contrast checker → · Palette generator →

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