#521848#521848

#521848 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.106 H 335.3°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#521848
RGBrgb(82, 24, 72)
HSLhsl(310, 55%, 21%)
HSVhsv(310, 71%, 32%)
CMYKcmyk(0%, 70.7%, 12.2%, 67.8%)
CIE-LABlab(19.70, 33.16, -16.33)
CIE-LCHlch(19.70, 36.96, 333.78°)
OKLaboklab(32.17% 0.0966 -0.0445)
OKLCHoklch(32.17% 0.106 335.3)
XYZxyz(4.9761, 2.9154, 6.4303)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521848 #185222
analogous
#3F1852 #521848 #52182B
triadic
#521848 #485218 #184852
tetradic
#521848 #523F18 #185222 #182B52
square
#521848 #523F18 #185222 #182B52
split-complementary
#521848 #2B5218 #18523F
monochromatic
#180715 #230A1E #521848 #812672 #B1349B

Accessibility & contrast

On white

13.27
#521848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#521848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521848
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521848#FFFFFF#000000##FFFFFF
##5218481.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182A49
Deuteranopia (green-blind)
#2B3347
Tritanopia (blue-blind)
#561C2D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521848;
/* rgb */ color: rgb(82, 24, 72);
/* oklch */ color: oklch(32.2% 0.106 335.3);
Tailwind
colors: {
  custom: {
    50: '#855a7b',
    500: '#521848',
    950: '#000000',
  },
}
SCSS
$custom: #521848;
$custom-light: #855a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#521848",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 72
  },
  "hsl": {
    "h": 310.345,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32169,
    "c": 0.10634,
    "h": 335.3
  },
  "luminance": 0.02915
}

Semantic roles & 50–950 ramp

primary
#521848
secondary
#3D894A
accent
#DE634A
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #521848

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

Preview Lab → · Contrast checker → · Palette generator →

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