#521829#521829

#521829 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.8% C 0.088 H 5.9°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#521829
RGBrgb(82, 24, 41)
HSLhsl(342, 55%, 21%)
HSVhsv(342, 71%, 32%)
CMYKcmyk(0%, 70.7%, 50%, 67.8%)
CIE-LABlab(18.40, 28.60, 3.39)
CIE-LCHlch(18.40, 28.80, 6.77°)
OKLaboklab(30.78% 0.0872 0.009)
OKLCHoklch(30.78% 0.088 5.9)
XYZxyz(4.2069, 2.6077, 2.3792)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521829 #185241
analogous
#521846 #521829 #522418
triadic
#521829 #295218 #182952
tetradic
#521829 #465218 #185241 #241852
square
#521829 #465218 #185241 #241852
split-complementary
#521829 #185224 #184652
monochromatic
#18070C #230A11 #521829 #812641 #B13458

Accessibility & contrast

On white

13.80
#521829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#521829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521829
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521829#FFFFFF#000000##FFFFFF
##5218291.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242629
Deuteranopia (green-blind)
#343128
Tritanopia (blue-blind)
#5A101F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521829;
/* rgb */ color: rgb(82, 24, 41);
/* oklch */ color: oklch(30.8% 0.088 5.9);
Tailwind
colors: {
  custom: {
    50: '#865962',
    500: '#521829',
    950: '#000000',
  },
}
SCSS
$custom: #521829;
$custom-light: #865962;
$custom-dark: #000000;
JSON
{
  "hex": "#521829",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 41
  },
  "hsl": {
    "h": 342.414,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30783,
    "c": 0.08763,
    "h": 5.9
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

primary
#521829
secondary
#3D8973
accent
#DEB34A
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0405
muted
#7D7979

Preview Lab

Preview with #521829

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

Preview Lab → · Contrast checker → · Palette generator →

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