#522239#522239

#522239 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 32.9% C 0.078 H 352.2°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#522239
RGBrgb(82, 34, 57)
HSLhsl(331, 41%, 23%)
HSVhsv(331, 59%, 32%)
CMYKcmyk(0%, 58.5%, 30.5%, 67.8%)
CIE-LABlab(20.96, 25.40, -4.08)
CIE-LCHlch(20.96, 25.72, 350.87°)
OKLaboklab(32.87% 0.0769 -0.0105)
OKLCHoklch(32.87% 0.078 352.2)
XYZxyz(4.7904, 3.2337, 4.2420)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522239 #22523B
analogous
#522251 #522239 #522322
triadic
#522239 #395222 #223952
tetradic
#522239 #515222 #22523B #232252
square
#522239 #515222 #22523B #232252
split-complementary
#522239 #225223 #225152
monochromatic
#16090F #27101B #522239 #7D3457 #A94675

Accessibility & contrast

On white

12.75
#522239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#522239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522239
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522239#FFFFFF#000000##FFFFFF
##5222391.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282D3A
Deuteranopia (green-blind)
#353638
Tritanopia (blue-blind)
#58202B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #522239;
/* rgb */ color: rgb(82, 34, 57);
/* oklch */ color: oklch(32.9% 0.078 352.2);
Tailwind
colors: {
  custom: {
    50: '#845f6f',
    500: '#522239',
    950: '#000000',
  },
}
SCSS
$custom: #522239;
$custom-light: #845f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#522239",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 57
  },
  "hsl": {
    "h": 331.25,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32872,
    "c": 0.07756,
    "h": 352.2
  },
  "luminance": 0.03233
}

Semantic roles & 50–950 ramp

primary
#522239
secondary
#4A8669
accent
#D19657
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0507
muted
#7C797A

Preview Lab

Preview with #522239

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

Preview Lab → · Contrast checker → · Palette generator →

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