#521833#521833

#521833 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.2% C 0.091 H 355.0°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#521833
RGBrgb(82, 24, 51)
HSLhsl(332, 55%, 21%)
HSVhsv(332, 71%, 32%)
CMYKcmyk(0%, 70.7%, 37.8%, 67.8%)
CIE-LABlab(18.74, 29.84, -3.19)
CIE-LCHlch(18.74, 30.01, 353.90°)
OKLaboklab(31.15% 0.0911 -0.008)
OKLCHoklch(31.15% 0.091 355)
XYZxyz(4.4041, 2.6866, 3.4180)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521833 #185237
analogous
#521850 #521833 #521A18
triadic
#521833 #335218 #183352
tetradic
#521833 #505218 #185237 #1A1852
square
#521833 #505218 #185237 #1A1852
split-complementary
#521833 #18521A #185052
monochromatic
#18070F #230A16 #521833 #812650 #B1346E

Accessibility & contrast

On white

13.66
#521833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#521833 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521833
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521833#FFFFFF#000000##FFFFFF
##5218331.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222734
Deuteranopia (green-blind)
#323232
Tritanopia (blue-blind)
#591423
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #521833;
/* rgb */ color: rgb(82, 24, 51);
/* oklch */ color: oklch(31.2% 0.091 355.0);
Tailwind
colors: {
  custom: {
    50: '#85596a',
    500: '#521833',
    950: '#000000',
  },
}
SCSS
$custom: #521833;
$custom-light: #85596a;
$custom-dark: #000000;
JSON
{
  "hex": "#521833",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 51
  },
  "hsl": {
    "h": 332.069,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31151,
    "c": 0.09149,
    "h": 355
  },
  "luminance": 0.02686
}

Semantic roles & 50–950 ramp

primary
#521833
secondary
#3D8966
accent
#DE994A
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #521833

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

Preview Lab → · Contrast checker → · Palette generator →

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