#521028#521028

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

Color values

HEX#521028
RGBrgb(82, 16, 40)
HSLhsl(338, 67%, 19%)
HSVhsv(338, 80%, 32%)
CMYKcmyk(0%, 80.5%, 51.2%, 67.8%)
CIE-LABlab(17.08, 32.05, 2.21)
CIE-LCHlch(17.08, 32.12, 3.95°)
OKLaboklab(29.79% 0.0981 0.006)
OKLCHoklch(29.79% 0.098 3.5)
XYZxyz(4.0483, 2.3182, 2.2413)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521028 #10523A
analogous
#521049 #521028 #521910
triadic
#521028 #285210 #102852
tetradic
#521028 #495210 #10523A #191052
square
#521028 #495210 #10523A #191052
split-complementary
#521028 #105219 #104952
monochromatic
#1A050C #1F060F #521028 #851A41 #B8245A

Accessibility & contrast

On white

14.35
#521028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521028
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521028#FFFFFF#000000##FFFFFF
##5210281.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2229
Deuteranopia (green-blind)
#312F26
Tritanopia (blue-blind)
#5A041A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521028;
/* rgb */ color: rgb(82, 16, 40);
/* oklch */ color: oklch(29.8% 0.098 3.5);
Tailwind
colors: {
  custom: {
    50: '#875561',
    500: '#521028',
    950: '#000000',
  },
}
SCSS
$custom: #521028;
$custom-light: #875561;
$custom-dark: #000000;
JSON
{
  "hex": "#521028",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 40
  },
  "hsl": {
    "h": 338.182,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29793,
    "c": 0.0983,
    "h": 3.5
  },
  "luminance": 0.02318
}

Semantic roles & 50–950 ramp

primary
#521028
secondary
#328C6B
accent
#EAAB3E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #521028

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

Preview Lab → · Contrast checker → · Palette generator →

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