#522348#522348

#522348 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 33.7% C 0.087 H 336.1°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#522348
RGBrgb(82, 35, 72)
HSLhsl(313, 40%, 23%)
HSVhsv(313, 57%, 32%)
CMYKcmyk(0%, 57.3%, 12.2%, 67.8%)
CIE-LABlab(21.81, 27.43, -13.05)
CIE-LCHlch(21.81, 30.38, 334.55°)
OKLaboklab(33.72% 0.0798 -0.0353)
OKLCHoklch(33.72% 0.087 336.1)
XYZxyz(5.2504, 3.4642, 6.5217)
Luminance0.0346 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522348 #23522D
analogous
#442352 #522348 #522330
triadic
#522348 #485223 #234852
tetradic
#522348 #524423 #23522D #233052
square
#522348 #524423 #23522D #233052
split-complementary
#522348 #305223 #235244
monochromatic
#150913 #271122 #522348 #7D356E #A84893

Accessibility & contrast

On white

12.41
#522348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#522348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522348
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522348#FFFFFF#000000##FFFFFF
##5223481.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243049
Deuteranopia (green-blind)
#313747
Tritanopia (blue-blind)
#562532
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #522348;
/* rgb */ color: rgb(82, 35, 72);
/* oklch */ color: oklch(33.7% 0.087 336.1);
Tailwind
colors: {
  custom: {
    50: '#84607b',
    500: '#522348',
    950: '#000000',
  },
}
SCSS
$custom: #522348;
$custom-light: #84607b;
$custom-dark: #000000;
JSON
{
  "hex": "#522348",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 72
  },
  "hsl": {
    "h": 312.766,
    "s": 40.171,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33721,
    "c": 0.08723,
    "h": 336.1
  },
  "luminance": 0.03464
}

Semantic roles & 50–950 ramp

primary
#522348
secondary
#4B8658
accent
#D07158
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0509
muted
#7C797B

Preview Lab

Preview with #522348

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

Preview Lab → · Contrast checker → · Palette generator →

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