#522233#522233

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

Color values

HEX#522233
RGBrgb(82, 34, 51)
HSLhsl(339, 41%, 23%)
HSVhsv(339, 59%, 32%)
CMYKcmyk(0%, 58.5%, 37.8%, 67.8%)
CIE-LABlab(20.74, 24.50, -0.24)
CIE-LCHlch(20.74, 24.50, 359.43°)
OKLaboklab(32.64% 0.0745 -0.0003)
OKLCHoklch(32.64% 0.075 359.7)
XYZxyz(4.6495, 3.1774, 3.4998)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522233 #225241
analogous
#52224B #522233 #522922
triadic
#522233 #335222 #223352
tetradic
#522233 #4B5222 #225241 #292252
square
#522233 #4B5222 #225241 #292252
split-complementary
#522233 #225229 #224B52
monochromatic
#16090D #271018 #522233 #7D344E #A94669

Accessibility & contrast

On white

12.84
#522233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522233
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522233#FFFFFF#000000##FFFFFF
##5222331.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #522233;
/* rgb */ color: rgb(82, 34, 51);
/* oklch */ color: oklch(32.6% 0.075 359.7);
Tailwind
colors: {
  custom: {
    50: '#855f6a',
    500: '#522233',
    950: '#000000',
  },
}
SCSS
$custom: #522233;
$custom-light: #855f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#522233",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 51
  },
  "hsl": {
    "h": 338.75,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32639,
    "c": 0.07452,
    "h": 359.7
  },
  "luminance": 0.03177
}

Semantic roles & 50–950 ramp

primary
#522233
secondary
#4A8671
accent
#D1A657
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0506
muted
#7C797A

Preview Lab

Preview with #522233

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

Preview Lab → · Contrast checker → · Palette generator →

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