#522231#522231

#522231 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 32.6% C 0.074 H 2.4°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#522231
RGBrgb(82, 34, 49)
HSLhsl(341, 41%, 23%)
HSVhsv(341, 59%, 32%)
CMYKcmyk(0%, 58.5%, 40.2%, 67.8%)
CIE-LABlab(20.67, 24.22, 1.05)
CIE-LCHlch(20.67, 24.24, 2.48°)
OKLaboklab(32.57% 0.0737 0.003)
OKLCHoklch(32.57% 0.074 2.4)
XYZxyz(4.6063, 3.1601, 3.2725)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522231 #225243
analogous
#522249 #522231 #522B22
triadic
#522231 #315222 #223152
tetradic
#522231 #495222 #225243 #2B2252
square
#522231 #495222 #225243 #2B2252
split-complementary
#522231 #22522B #224952
monochromatic
#16090D #271017 #522231 #7D344B #A94665

Accessibility & contrast

On white

12.87
#522231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#522231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522231
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522231#FFFFFF#000000##FFFFFF
##5222311.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2C31
Deuteranopia (green-blind)
#373530
Tritanopia (blue-blind)
#591E28
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #522231;
/* rgb */ color: rgb(82, 34, 49);
/* oklch */ color: oklch(32.6% 0.074 2.4);
Tailwind
colors: {
  custom: {
    50: '#855f68',
    500: '#522231',
    950: '#000000',
  },
}
SCSS
$custom: #522231;
$custom-light: #855f68;
$custom-dark: #000000;
JSON
{
  "hex": "#522231",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 49
  },
  "hsl": {
    "h": 341.25,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32567,
    "c": 0.07375,
    "h": 2.4
  },
  "luminance": 0.0316
}

Semantic roles & 50–950 ramp

primary
#522231
secondary
#4A8673
accent
#D1AB57
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0506
muted
#7C797A

Preview Lab

Preview with #522231

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

Preview Lab → · Contrast checker → · Palette generator →

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