#522247#522247

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

Color values

HEX#522247
RGBrgb(82, 34, 71)
HSLhsl(314, 41%, 23%)
HSVhsv(314, 59%, 32%)
CMYKcmyk(0%, 58.5%, 13.4%, 67.8%)
CIE-LABlab(21.55, 27.81, -12.78)
CIE-LCHlch(21.55, 30.60, 335.32°)
OKLaboklab(33.51% 0.0812 -0.0345)
OKLCHoklch(33.51% 0.088 337)
XYZxyz(5.1891, 3.3932, 6.3417)
Luminance0.0339 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522247 #22522D
analogous
#452252 #522247 #52222F
triadic
#522247 #475222 #224752
tetradic
#522247 #524522 #22522D #222F52
square
#522247 #524522 #22522D #222F52
split-complementary
#522247 #2F5222 #225245
monochromatic
#160913 #271022 #522247 #7D346C #A94692

Accessibility & contrast

On white

12.51
#522247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522247
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522247#FFFFFF#000000##FFFFFF
##5222471.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232F48
Deuteranopia (green-blind)
#313646
Tritanopia (blue-blind)
#562431
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #522247;
/* rgb */ color: rgb(82, 34, 71);
/* oklch */ color: oklch(33.5% 0.088 337.0);
Tailwind
colors: {
  custom: {
    50: '#84607a',
    500: '#522247',
    950: '#000000',
  },
}
SCSS
$custom: #522247;
$custom-light: #84607a;
$custom-dark: #000000;
JSON
{
  "hex": "#522247",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 313.75,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33513,
    "c": 0.0882,
    "h": 337
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#522247
secondary
#4A8658
accent
#D17357
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0509
muted
#7C797B

Preview Lab

Preview with #522247

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

Preview Lab → · Contrast checker → · Palette generator →

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