#522246#522246

#522246 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.5% C 0.087 H 337.9°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#522246
RGBrgb(82, 34, 70)
HSLhsl(315, 41%, 23%)
HSVhsv(315, 59%, 32%)
CMYKcmyk(0%, 58.5%, 14.6%, 67.8%)
CIE-LABlab(21.51, 27.62, -12.17)
CIE-LCHlch(21.51, 30.18, 336.22°)
OKLaboklab(33.46% 0.0809 -0.0328)
OKLCHoklch(33.46% 0.087 337.9)
XYZxyz(5.1572, 3.3805, 6.1740)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522246 #22522E
analogous
#462252 #522246 #52222E
triadic
#522246 #465222 #224652
tetradic
#522246 #524622 #22522E #222E52
square
#522246 #524622 #22522E #222E52
split-complementary
#522246 #2E5222 #225246
monochromatic
#160912 #271021 #522246 #7D346B #A94690

Accessibility & contrast

On white

12.53
#522246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#522246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522246
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522246#FFFFFF#000000##FFFFFF
##5222461.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232F47
Deuteranopia (green-blind)
#313645
Tritanopia (blue-blind)
#562430
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #522246;
/* rgb */ color: rgb(82, 34, 70);
/* oklch */ color: oklch(33.5% 0.087 337.9);
Tailwind
colors: {
  custom: {
    50: '#846079',
    500: '#522246',
    950: '#000000',
  },
}
SCSS
$custom: #522246;
$custom-light: #846079;
$custom-dark: #000000;
JSON
{
  "hex": "#522246",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 70
  },
  "hsl": {
    "h": 315,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33463,
    "c": 0.08731,
    "h": 337.9
  },
  "luminance": 0.0338
}

Semantic roles & 50–950 ramp

primary
#522246
secondary
#4A8659
accent
#D17557
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0509
muted
#7C797B

Preview Lab

Preview with #522246

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

Preview Lab → · Contrast checker → · Palette generator →

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