#521928#521928

#521928 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.9% C 0.086 H 7.6°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#521928
RGBrgb(82, 25, 40)
HSLhsl(344, 53%, 21%)
HSVhsv(344, 70%, 32%)
CMYKcmyk(0%, 69.5%, 51.2%, 67.8%)
CIE-LABlab(18.55, 27.98, 4.32)
CIE-LCHlch(18.55, 28.32, 8.78°)
OKLaboklab(30.89% 0.0852 0.0113)
OKLCHoklch(30.89% 0.086 7.6)
XYZxyz(4.2106, 2.6428, 2.2955)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521928 #195243
analogous
#521944 #521928 #522619
triadic
#521928 #285219 #192852
tetradic
#521928 #445219 #195243 #261952
square
#521928 #445219 #195243 #261952
split-complementary
#521928 #195226 #194452
monochromatic
#17070B #230B11 #521928 #81273F #B03656

Accessibility & contrast

On white

13.74
#521928 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#521928 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521928
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521928#FFFFFF#000000##FFFFFF
##5219281.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252628
Deuteranopia (green-blind)
#343127
Tritanopia (blue-blind)
#5A111F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521928;
/* rgb */ color: rgb(82, 25, 40);
/* oklch */ color: oklch(30.9% 0.086 7.6);
Tailwind
colors: {
  custom: {
    50: '#865961',
    500: '#521928',
    950: '#000000',
  },
}
SCSS
$custom: #521928;
$custom-light: #865961;
$custom-dark: #000000;
JSON
{
  "hex": "#521928",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 40
  },
  "hsl": {
    "h": 344.211,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30888,
    "c": 0.0859,
    "h": 7.6
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#521928
secondary
#3E8875
accent
#DDB64B
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0405
muted
#7D7979

Preview Lab

Preview with #521928

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

Preview Lab → · Contrast checker → · Palette generator →

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