#521428#521428

#521428 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.093 H 5.1°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#521428
RGBrgb(82, 20, 40)
HSLhsl(341, 61%, 20%)
HSVhsv(341, 76%, 32%)
CMYKcmyk(0%, 75.6%, 51.2%, 67.8%)
CIE-LABlab(17.68, 30.36, 3.08)
CIE-LCHlch(17.68, 30.52, 5.80°)
OKLaboklab(30.24% 0.0927 0.0082)
OKLCHoklch(30.24% 0.093 5.1)
XYZxyz(4.1132, 2.4479, 2.2630)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521428 #14523E
analogous
#521447 #521428 #521F14
triadic
#521428 #285214 #142852
tetradic
#521428 #475214 #14523E #1F1452
square
#521428 #475214 #14523E #1F1452
split-complementary
#521428 #14521F #144752
monochromatic
#19060C #210810 #521428 #832040 #B42C58

Accessibility & contrast

On white

14.10
#521428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#521428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521428
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521428#FFFFFF#000000##FFFFFF
##5214281.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222428
Deuteranopia (green-blind)
#323027
Tritanopia (blue-blind)
#5A0A1C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521428;
/* rgb */ color: rgb(82, 20, 40);
/* oklch */ color: oklch(30.2% 0.093 5.1);
Tailwind
colors: {
  custom: {
    50: '#865761',
    500: '#521428',
    950: '#000000',
  },
}
SCSS
$custom: #521428;
$custom-light: #865761;
$custom-dark: #000000;
JSON
{
  "hex": "#521428",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 40
  },
  "hsl": {
    "h": 340.645,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.3024,
    "c": 0.09309,
    "h": 5.1
  },
  "luminance": 0.02447
}

Semantic roles & 50–950 ramp

primary
#521428
secondary
#388A70
accent
#E4B044
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #521428

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

Preview Lab → · Contrast checker → · Palette generator →

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