#522245#522245

#522245 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.4% C 0.086 H 338.9°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#522245
RGBrgb(82, 34, 69)
HSLhsl(316, 41%, 23%)
HSVhsv(316, 59%, 32%)
CMYKcmyk(0%, 58.5%, 15.9%, 67.8%)
CIE-LABlab(21.46, 27.44, -11.56)
CIE-LCHlch(21.46, 29.77, 337.16°)
OKLaboklab(33.41% 0.0807 -0.0311)
OKLCHoklch(33.41% 0.086 338.9)
XYZxyz(5.1259, 3.3680, 6.0092)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522245 #22522F
analogous
#472252 #522245 #52222D
triadic
#522245 #455222 #224552
tetradic
#522245 #524722 #22522F #222D52
square
#522245 #524722 #22522F #222D52
split-complementary
#522245 #2D5222 #225247
monochromatic
#160912 #271021 #522245 #7D3469 #A9468E

Accessibility & contrast

On white

12.55
#522245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#522245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522245
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522245#FFFFFF#000000##FFFFFF
##5222451.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242F46
Deuteranopia (green-blind)
#313644
Tritanopia (blue-blind)
#562330
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #522245;
/* rgb */ color: rgb(82, 34, 69);
/* oklch */ color: oklch(33.4% 0.086 338.9);
Tailwind
colors: {
  custom: {
    50: '#845f78',
    500: '#522245',
    950: '#000000',
  },
}
SCSS
$custom: #522245;
$custom-light: #845f78;
$custom-dark: #000000;
JSON
{
  "hex": "#522245",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 69
  },
  "hsl": {
    "h": 316.25,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33413,
    "c": 0.08644,
    "h": 338.9
  },
  "luminance": 0.03368
}

Semantic roles & 50–950 ramp

primary
#522245
secondary
#4A865A
accent
#D17857
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0509
muted
#7C797B

Preview Lab

Preview with #522245

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

Preview Lab → · Contrast checker → · Palette generator →

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