#522642#522642

#522642 is a dark, moderate pink. Relative luminance 0.036; OKLCH L 33.9% C 0.076 H 343.0°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#522642
RGBrgb(82, 38, 66)
HSLhsl(322, 37%, 24%)
HSVhsv(322, 54%, 32%)
CMYKcmyk(0%, 53.7%, 19.5%, 67.8%)
CIE-LABlab(22.21, 24.58, -8.37)
CIE-LCHlch(22.21, 25.97, 341.19°)
OKLaboklab(33.93% 0.0729 -0.0222)
OKLCHoklch(33.93% 0.076 343)
XYZxyz(5.1562, 3.5738, 5.5714)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522642 #265236
analogous
#4C2652 #522642 #52262C
triadic
#522642 #425226 #264252
tetradic
#522642 #524C26 #265236 #262C52
square
#522642 #524C26 #265236 #262C52
split-complementary
#522642 #2C5226 #26524C
monochromatic
#150A11 #281320 #522642 #7C3964 #A64D85

Accessibility & contrast

On white

12.25
#522642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#522642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522642
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522642#FFFFFF#000000##FFFFFF
##5226421.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293143
Deuteranopia (green-blind)
#353841
Tritanopia (blue-blind)
#572631
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #522642;
/* rgb */ color: rgb(82, 38, 66);
/* oklch */ color: oklch(33.9% 0.076 343.0);
Tailwind
colors: {
  custom: {
    50: '#846276',
    500: '#522642',
    950: '#000000',
  },
}
SCSS
$custom: #522642;
$custom-light: #846276;
$custom-dark: #000000;
JSON
{
  "hex": "#522642",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 66
  },
  "hsl": {
    "h": 321.818,
    "s": 36.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33927,
    "c": 0.07624,
    "h": 343
  },
  "luminance": 0.03573
}

Semantic roles & 50–950 ramp

primary
#522642
secondary
#4F8562
accent
#CD845B
background
#F8F5F7
surface
#EFEAED
border
#CAC6C8
text
#0B0508
muted
#7C797B

Preview Lab

Preview with #522642

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

Preview Lab → · Contrast checker → · Palette generator →

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