#522235#522235

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

Color values

HEX#522235
RGBrgb(82, 34, 53)
HSLhsl(336, 41%, 23%)
HSVhsv(336, 59%, 32%)
CMYKcmyk(0%, 58.5%, 35.4%, 67.8%)
CIE-LABlab(20.81, 24.79, -1.53)
CIE-LCHlch(20.81, 24.83, 356.47°)
OKLaboklab(32.71% 0.0753 -0.0037)
OKLCHoklch(32.71% 0.075 357.2)
XYZxyz(4.6945, 3.1954, 3.7370)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522235 #22523F
analogous
#52224D #522235 #522722
triadic
#522235 #355222 #223552
tetradic
#522235 #4D5222 #22523F #272252
square
#522235 #4D5222 #22523F #272252
split-complementary
#522235 #225227 #224D52
monochromatic
#16090E #271019 #522235 #7D3451 #A9466D

Accessibility & contrast

On white

12.81
#522235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522235
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522235#FFFFFF#000000##FFFFFF
##5222351.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292D36
Deuteranopia (green-blind)
#363534
Tritanopia (blue-blind)
#581F29
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #522235;
/* rgb */ color: rgb(82, 34, 53);
/* oklch */ color: oklch(32.7% 0.075 357.2);
Tailwind
colors: {
  custom: {
    50: '#855f6c',
    500: '#522235',
    950: '#000000',
  },
}
SCSS
$custom: #522235;
$custom-light: #855f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#522235",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 53
  },
  "hsl": {
    "h": 336.25,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32714,
    "c": 0.07542,
    "h": 357.2
  },
  "luminance": 0.03195
}

Semantic roles & 50–950 ramp

primary
#522235
secondary
#4A866E
accent
#D1A157
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0506
muted
#7C797A

Preview Lab

Preview with #522235

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

Preview Lab → · Contrast checker → · Palette generator →

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