#522A42#522A42

#522A42 is a dark, moderate pink. Relative luminance 0.038; OKLCH L 34.6% C 0.068 H 344.4°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#522A42
RGBrgb(82, 42, 66)
HSLhsl(324, 32%, 24%)
HSVhsv(324, 49%, 32%)
CMYKcmyk(0%, 48.8%, 19.5%, 67.8%)
CIE-LABlab(23.15, 22.18, -6.95)
CIE-LCHlch(23.15, 23.24, 342.59°)
OKLaboklab(34.63% 0.0658 -0.0184)
OKLCHoklch(34.63% 0.068 344.4)
XYZxyz(5.2911, 3.8435, 5.6164)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522A42 #2A523A
analogous
#4E2A52 #522A42 #522A2E
triadic
#522A42 #42522A #2A4252
tetradic
#522A42 #524E2A #2A523A #2A2E52
square
#522A42 #524E2A #2A523A #2A2E52
split-complementary
#522A42 #2E522A #2A524E
monochromatic
#140A10 #2A1521 #522A42 #7A3F63 #A35383

Accessibility & contrast

On white

11.87
#522A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#522A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522A42
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522A42#FFFFFF#000000##FFFFFF
##522A421.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3343
Deuteranopia (green-blind)
#373A41
Tritanopia (blue-blind)
#572A33
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #522a42;
/* rgb */ color: rgb(82, 42, 66);
/* oklch */ color: oklch(34.6% 0.068 344.4);
Tailwind
colors: {
  custom: {
    50: '#846576',
    500: '#522a42',
    950: '#000000',
  },
}
SCSS
$custom: #522a42;
$custom-light: #846576;
$custom-dark: #000000;
JSON
{
  "hex": "#522a42",
  "rgb": {
    "r": 82,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 324,
    "s": 32.258,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34631,
    "c": 0.06829,
    "h": 344.4
  },
  "luminance": 0.03843
}

Semantic roles & 50–950 ramp

primary
#522A42
secondary
#548467
accent
#C8895F
background
#F8F6F7
surface
#EFEBED
border
#CAC6C8
text
#0B0508
muted
#7C7A7B

Preview Lab

Preview with #522A42

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

Preview Lab → · Contrast checker → · Palette generator →

#522A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva