#522331#522331

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

Color values

HEX#522331
RGBrgb(82, 35, 49)
HSLhsl(342, 40%, 23%)
HSVhsv(342, 57%, 32%)
CMYKcmyk(0%, 57.3%, 40.2%, 67.8%)
CIE-LABlab(20.90, 23.64, 1.37)
CIE-LCHlch(20.90, 23.68, 3.32°)
OKLaboklab(32.74% 0.0719 0.0039)
OKLCHoklch(32.74% 0.072 3.1)
XYZxyz(4.6353, 3.2181, 3.2822)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522331 #235244
analogous
#522348 #522331 #522C23
triadic
#522331 #315223 #233152
tetradic
#522331 #485223 #235244 #2C2352
square
#522331 #485223 #235244 #2C2352
split-complementary
#522331 #23522C #234852
monochromatic
#15090D #271117 #522331 #7D354B #A84864

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##522331#FFFFFF#000000##FFFFFF
##5223311.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)
#2B2D31
Deuteranopia (green-blind)
#373630
Tritanopia (blue-blind)
#591F28
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #522331;
/* rgb */ color: rgb(82, 35, 49);
/* oklch */ color: oklch(32.7% 0.072 3.1);
Tailwind
colors: {
  custom: {
    50: '#856068',
    500: '#522331',
    950: '#000000',
  },
}
SCSS
$custom: #522331;
$custom-light: #856068;
$custom-dark: #000000;
JSON
{
  "hex": "#522331",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 49
  },
  "hsl": {
    "h": 342.128,
    "s": 40.171,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32735,
    "c": 0.072,
    "h": 3.1
  },
  "luminance": 0.03218
}

Semantic roles & 50–950 ramp

primary
#522331
secondary
#4B8674
accent
#D0AC58
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0506
muted
#7C797A

Preview Lab

Preview with #522331

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

Preview Lab → · Contrast checker → · Palette generator →

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