#522334#522334

#522334 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 32.8% C 0.073 H 359.1°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#522334
RGBrgb(82, 35, 52)
HSLhsl(338, 40%, 23%)
HSVhsv(338, 57%, 32%)
CMYKcmyk(0%, 57.3%, 36.6%, 67.8%)
CIE-LABlab(21.00, 24.06, -0.56)
CIE-LCHlch(21.00, 24.07, 358.66°)
OKLaboklab(32.84% 0.0731 -0.0012)
OKLCHoklch(32.84% 0.073 359.1)
XYZxyz(4.7008, 3.2443, 3.6268)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522334 #235241
analogous
#52234B #522334 #522923
triadic
#522334 #345223 #233452
tetradic
#522334 #4B5223 #235241 #292352
square
#522334 #4B5223 #235241 #292352
split-complementary
#522334 #235229 #234B52
monochromatic
#15090E #271119 #522334 #7D354F #A8486A

Accessibility & contrast

On white

12.74
#522334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#522334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522334
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522334#FFFFFF#000000##FFFFFF
##5223341.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2D35
Deuteranopia (green-blind)
#373633
Tritanopia (blue-blind)
#582029
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #522334;
/* rgb */ color: rgb(82, 35, 52);
/* oklch */ color: oklch(32.8% 0.073 359.1);
Tailwind
colors: {
  custom: {
    50: '#85606b',
    500: '#522334',
    950: '#000000',
  },
}
SCSS
$custom: #522334;
$custom-light: #85606b;
$custom-dark: #000000;
JSON
{
  "hex": "#522334",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 52
  },
  "hsl": {
    "h": 338.298,
    "s": 40.171,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32843,
    "c": 0.07315,
    "h": 359.1
  },
  "luminance": 0.03244
}

Semantic roles & 50–950 ramp

primary
#522334
secondary
#4B8671
accent
#D0A558
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0506
muted
#7C797A

Preview Lab

Preview with #522334

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

Preview Lab → · Contrast checker → · Palette generator →

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