#522647#522647

#522647 is a dark, moderate pink. Relative luminance 0.036; OKLCH L 34.2% C 0.081 H 337.5°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#522647
RGBrgb(82, 38, 71)
HSLhsl(315, 37%, 24%)
HSVhsv(315, 54%, 32%)
CMYKcmyk(0%, 53.7%, 13.4%, 67.8%)
CIE-LABlab(22.43, 25.51, -11.44)
CIE-LCHlch(22.43, 27.95, 335.85°)
OKLaboklab(34.16% 0.0744 -0.0308)
OKLCHoklch(34.16% 0.081 337.5)
XYZxyz(5.3102, 3.6354, 6.3820)
Luminance0.0364 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522647 #265231
analogous
#472652 #522647 #522631
triadic
#522647 #475226 #264752
tetradic
#522647 #524726 #265231 #263152
square
#522647 #524726 #265231 #263152
split-complementary
#522647 #315226 #265247
monochromatic
#150A12 #281323 #522647 #7C396B #A64D8F

Accessibility & contrast

On white

12.16
#522647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#522647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522647
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522647#FFFFFF#000000##FFFFFF
##5226471.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273148
Deuteranopia (green-blind)
#333846
Tritanopia (blue-blind)
#562733
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #522647;
/* rgb */ color: rgb(82, 38, 71);
/* oklch */ color: oklch(34.2% 0.081 337.5);
Tailwind
colors: {
  custom: {
    50: '#84627a',
    500: '#522647',
    950: '#000000',
  },
}
SCSS
$custom: #522647;
$custom-light: #84627a;
$custom-dark: #000000;
JSON
{
  "hex": "#522647",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 71
  },
  "hsl": {
    "h": 315,
    "s": 36.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34162,
    "c": 0.08054,
    "h": 337.5
  },
  "luminance": 0.03635
}

Semantic roles & 50–950 ramp

primary
#522647
secondary
#4F855C
accent
#CD785B
background
#F8F5F7
surface
#EFEAED
border
#CAC6C8
text
#0B0509
muted
#7C797B

Preview Lab

Preview with #522647

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

Preview Lab → · Contrast checker → · Palette generator →

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