#522646#522646

#522646 is a dark, moderate pink. Relative luminance 0.036; OKLCH L 34.1% C 0.080 H 338.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#522646
RGBrgb(82, 38, 70)
HSLhsl(316, 37%, 24%)
HSVhsv(316, 54%, 32%)
CMYKcmyk(0%, 53.7%, 14.6%, 67.8%)
CIE-LABlab(22.38, 25.32, -10.83)
CIE-LCHlch(22.38, 27.54, 336.85°)
OKLaboklab(34.11% 0.0741 -0.0291)
OKLCHoklch(34.11% 0.08 338.6)
XYZxyz(5.2783, 3.6226, 6.2144)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522646 #265232
analogous
#482652 #522646 #522630
triadic
#522646 #465226 #264652
tetradic
#522646 #524826 #265232 #263052
square
#522646 #524826 #265232 #263052
split-complementary
#522646 #305226 #265248
monochromatic
#150A12 #281322 #522646 #7C396A #A64D8D

Accessibility & contrast

On white

12.18
#522646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#522646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522646
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522646#FFFFFF#000000##FFFFFF
##5226461.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273147
Deuteranopia (green-blind)
#333845
Tritanopia (blue-blind)
#562732
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #522646;
/* rgb */ color: rgb(82, 38, 70);
/* oklch */ color: oklch(34.1% 0.080 338.6);
Tailwind
colors: {
  custom: {
    50: '#846279',
    500: '#522646',
    950: '#000000',
  },
}
SCSS
$custom: #522646;
$custom-light: #846279;
$custom-dark: #000000;
JSON
{
  "hex": "#522646",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 70
  },
  "hsl": {
    "h": 316.364,
    "s": 36.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34114,
    "c": 0.07964,
    "h": 338.6
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#522646
secondary
#4F855E
accent
#CD7A5B
background
#F8F5F7
surface
#EFEAED
border
#CAC6C8
text
#0B0509
muted
#7C797B

Preview Lab

Preview with #522646

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

Preview Lab → · Contrast checker → · Palette generator →

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