#522135#522135

#522135 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.6% C 0.077 H 356.6°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#522135
RGBrgb(82, 33, 53)
HSLhsl(336, 43%, 23%)
HSVhsv(336, 60%, 32%)
CMYKcmyk(0%, 59.8%, 35.4%, 67.8%)
CIE-LABlab(20.59, 25.36, -1.85)
CIE-LCHlch(20.59, 25.43, 355.83°)
OKLaboklab(32.55% 0.0771 -0.0045)
OKLCHoklch(32.55% 0.077 356.6)
XYZxyz(4.6664, 3.1390, 3.7276)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522135 #21523E
analogous
#52214E #522135 #522521
triadic
#522135 #355221 #213552
tetradic
#522135 #4E5221 #21523E #252152
square
#522135 #4E5221 #21523E #252152
split-complementary
#522135 #215225 #214E52
monochromatic
#16090E #260F19 #522135 #7E3351 #A9446D

Accessibility & contrast

On white

12.90
#522135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#522135 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522135
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522135#FFFFFF#000000##FFFFFF
##5221351.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282C36
Deuteranopia (green-blind)
#353534
Tritanopia (blue-blind)
#581E29
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #522135;
/* rgb */ color: rgb(82, 33, 53);
/* oklch */ color: oklch(32.6% 0.077 356.6);
Tailwind
colors: {
  custom: {
    50: '#855e6c',
    500: '#522135',
    950: '#000000',
  },
}
SCSS
$custom: #522135;
$custom-light: #855e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#522135",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 53
  },
  "hsl": {
    "h": 335.51,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32551,
    "c": 0.07722,
    "h": 356.6
  },
  "luminance": 0.03139
}

Semantic roles & 50–950 ramp

primary
#522135
secondary
#49866D
accent
#D29F55
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #522135

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

Preview Lab → · Contrast checker → · Palette generator →

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