#522A40#522A40

#522A40 is a dark, moderate pink. Relative luminance 0.038; OKLCH L 34.5% C 0.067 H 347.0°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#522A40
RGBrgb(82, 42, 64)
HSLhsl(327, 32%, 24%)
HSVhsv(327, 49%, 32%)
CMYKcmyk(0%, 48.8%, 22%, 67.8%)
CIE-LABlab(23.07, 21.82, -5.72)
CIE-LCHlch(23.07, 22.55, 345.32°)
OKLaboklab(34.54% 0.0651 -0.015)
OKLCHoklch(34.54% 0.067 347)
XYZxyz(5.2332, 3.8203, 5.3113)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522A40 #2A523C
analogous
#502A52 #522A40 #522A2C
triadic
#522A40 #40522A #2A4052
tetradic
#522A40 #52502A #2A523C #2A2C52
square
#522A40 #52502A #2A523C #2A2C52
split-complementary
#522A40 #2C522A #2A5250
monochromatic
#140A10 #2A1520 #522A40 #7A3F60 #A3537F

Accessibility & contrast

On white

11.90
#522A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#522A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522A40
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522A40#FFFFFF#000000##FFFFFF
##522A401.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3341
Deuteranopia (green-blind)
#383A3F
Tritanopia (blue-blind)
#572932
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #522a40;
/* rgb */ color: rgb(82, 42, 64);
/* oklch */ color: oklch(34.5% 0.067 347.0);
Tailwind
colors: {
  custom: {
    50: '#846574',
    500: '#522a40',
    950: '#000000',
  },
}
SCSS
$custom: #522a40;
$custom-light: #846574;
$custom-dark: #000000;
JSON
{
  "hex": "#522a40",
  "rgb": {
    "r": 82,
    "g": 42,
    "b": 64
  },
  "hsl": {
    "h": 327,
    "s": 32.258,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34545,
    "c": 0.06677,
    "h": 347
  },
  "luminance": 0.0382
}

Semantic roles & 50–950 ramp

primary
#522A40
secondary
#548469
accent
#C88F5F
background
#F8F6F7
surface
#EFEBED
border
#CAC6C8
text
#0B0508
muted
#7C7A7B

Preview Lab

Preview with #522A40

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

Preview Lab → · Contrast checker → · Palette generator →

#522A40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva