#522347#522347

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

Color values

HEX#522347
RGBrgb(82, 35, 71)
HSLhsl(314, 40%, 23%)
HSVhsv(314, 57%, 32%)
CMYKcmyk(0%, 57.3%, 13.4%, 67.8%)
CIE-LABlab(21.77, 27.24, -12.45)
CIE-LCHlch(21.77, 29.95, 335.44°)
OKLaboklab(33.67% 0.0795 -0.0336)
OKLCHoklch(33.67% 0.086 337.1)
XYZxyz(5.2181, 3.4512, 6.3513)
Luminance0.0345 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522347 #23522E
analogous
#452352 #522347 #52232F
triadic
#522347 #475223 #234752
tetradic
#522347 #524523 #23522E #232F52
square
#522347 #524523 #23522E #232F52
split-complementary
#522347 #2F5223 #235245
monochromatic
#150913 #271122 #522347 #7D356C #A84891

Accessibility & contrast

On white

12.42
#522347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522347
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522347#FFFFFF#000000##FFFFFF
##5223471.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243048
Deuteranopia (green-blind)
#313746
Tritanopia (blue-blind)
#562531
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #522347;
/* rgb */ color: rgb(82, 35, 71);
/* oklch */ color: oklch(33.7% 0.086 337.1);
Tailwind
colors: {
  custom: {
    50: '#84607a',
    500: '#522347',
    950: '#000000',
  },
}
SCSS
$custom: #522347;
$custom-light: #84607a;
$custom-dark: #000000;
JSON
{
  "hex": "#522347",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 71
  },
  "hsl": {
    "h": 314.043,
    "s": 40.171,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33671,
    "c": 0.08632,
    "h": 337.1
  },
  "luminance": 0.03451
}

Semantic roles & 50–950 ramp

primary
#522347
secondary
#4B8659
accent
#D07458
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0509
muted
#7C797B

Preview Lab

Preview with #522347

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

Preview Lab → · Contrast checker → · Palette generator →

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