#522237#522237

#522237 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 32.8% C 0.076 H 354.7°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#522237
RGBrgb(82, 34, 55)
HSLhsl(334, 41%, 23%)
HSVhsv(334, 59%, 32%)
CMYKcmyk(0%, 58.5%, 32.9%, 67.8%)
CIE-LABlab(20.88, 25.09, -2.81)
CIE-LCHlch(20.88, 25.24, 353.61°)
OKLaboklab(32.79% 0.0761 -0.0071)
OKLCHoklch(32.79% 0.076 354.7)
XYZxyz(4.7415, 3.2142, 3.9844)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522237 #22523D
analogous
#52224F #522237 #522522
triadic
#522237 #375222 #223752
tetradic
#522237 #4F5222 #22523D #252252
square
#522237 #4F5222 #22523D #252252
split-complementary
#522237 #225225 #224F52
monochromatic
#16090F #27101A #522237 #7D3454 #A94671

Accessibility & contrast

On white

12.78
#522237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#522237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522237
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522237#FFFFFF#000000##FFFFFF
##5222371.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292D38
Deuteranopia (green-blind)
#353536
Tritanopia (blue-blind)
#581F2A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #522237;
/* rgb */ color: rgb(82, 34, 55);
/* oklch */ color: oklch(32.8% 0.076 354.7);
Tailwind
colors: {
  custom: {
    50: '#855f6d',
    500: '#522237',
    950: '#000000',
  },
}
SCSS
$custom: #522237;
$custom-light: #855f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#522237",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 55
  },
  "hsl": {
    "h": 333.75,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32792,
    "c": 0.07643,
    "h": 354.7
  },
  "luminance": 0.03214
}

Semantic roles & 50–950 ramp

primary
#522237
secondary
#4A866C
accent
#D19C57
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0507
muted
#7C797A

Preview Lab

Preview with #522237

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

Preview Lab → · Contrast checker → · Palette generator →

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