#522346#522346

#522346 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.6% C 0.085 H 338.1°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#522346
RGBrgb(82, 35, 70)
HSLhsl(315, 40%, 23%)
HSVhsv(315, 57%, 32%)
CMYKcmyk(0%, 57.3%, 14.6%, 67.8%)
CIE-LABlab(21.72, 27.06, -11.84)
CIE-LCHlch(21.72, 29.53, 336.36°)
OKLaboklab(33.62% 0.0793 -0.0319)
OKLCHoklch(33.62% 0.085 338.1)
XYZxyz(5.1863, 3.4385, 6.1837)
Luminance0.0344 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522346 #23522F
analogous
#462352 #522346 #52232E
triadic
#522346 #465223 #234652
tetradic
#522346 #524623 #23522F #232E52
square
#522346 #524623 #23522F #232E52
split-complementary
#522346 #2E5223 #235246
monochromatic
#150912 #271121 #522346 #7D356B #A8488F

Accessibility & contrast

On white

12.44
#522346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522346
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522346#FFFFFF#000000##FFFFFF
##5223461.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242F47
Deuteranopia (green-blind)
#323745
Tritanopia (blue-blind)
#562531
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #522346;
/* rgb */ color: rgb(82, 35, 70);
/* oklch */ color: oklch(33.6% 0.085 338.1);
Tailwind
colors: {
  custom: {
    50: '#846079',
    500: '#522346',
    950: '#000000',
  },
}
SCSS
$custom: #522346;
$custom-light: #846079;
$custom-dark: #000000;
JSON
{
  "hex": "#522346",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 70
  },
  "hsl": {
    "h": 315.319,
    "s": 40.171,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33621,
    "c": 0.08543,
    "h": 338.1
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#522346
secondary
#4B865A
accent
#D07658
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0509
muted
#7C797B

Preview Lab

Preview with #522346

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

Preview Lab → · Contrast checker → · Palette generator →

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