#522145#522145

#522145 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.3% C 0.088 H 338.8°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#522145
RGBrgb(82, 33, 69)
HSLhsl(316, 43%, 23%)
HSVhsv(316, 60%, 32%)
CMYKcmyk(0%, 59.8%, 15.9%, 67.8%)
CIE-LABlab(21.25, 28.00, -11.88)
CIE-LCHlch(21.25, 30.41, 337.01°)
OKLaboklab(33.26% 0.0823 -0.032)
OKLCHoklch(33.26% 0.088 338.8)
XYZxyz(5.0978, 3.3116, 5.9998)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522145 #21522E
analogous
#462152 #522145 #52212D
triadic
#522145 #455221 #214552
tetradic
#522145 #524621 #21522E #212D52
square
#522145 #524621 #21522E #212D52
split-complementary
#522145 #2D5221 #215246
monochromatic
#160912 #260F20 #522145 #7E336A #A9448E

Accessibility & contrast

On white

12.63
#522145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#522145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522145
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522145#FFFFFF#000000##FFFFFF
##5221451.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232E46
Deuteranopia (green-blind)
#313644
Tritanopia (blue-blind)
#562230
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #522145;
/* rgb */ color: rgb(82, 33, 69);
/* oklch */ color: oklch(33.3% 0.088 338.8);
Tailwind
colors: {
  custom: {
    50: '#845f78',
    500: '#522145',
    950: '#000000',
  },
}
SCSS
$custom: #522145;
$custom-light: #845f78;
$custom-dark: #000000;
JSON
{
  "hex": "#522145",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 315.918,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33258,
    "c": 0.08831,
    "h": 338.8
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#522145
secondary
#498659
accent
#D27755
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0509
muted
#7C797B

Preview Lab

Preview with #522145

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

Preview Lab → · Contrast checker → · Palette generator →

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