#52213F#52213F

#52213F is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.0% C 0.083 H 345.0°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#52213F
RGBrgb(82, 33, 63)
HSLhsl(323, 43%, 23%)
HSVhsv(323, 60%, 32%)
CMYKcmyk(0%, 59.8%, 23.2%, 67.8%)
CIE-LABlab(20.98, 26.94, -8.18)
CIE-LCHlch(20.98, 28.15, 343.11°)
OKLaboklab(32.97% 0.0806 -0.0217)
OKLCHoklch(32.97% 0.083 345)
XYZxyz(4.9209, 3.2409, 5.0680)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52213F #215234
analogous
#4C2152 #52213F #522127
triadic
#52213F #3F5221 #213F52
tetradic
#52213F #524C21 #215234 #212752
square
#52213F #524C21 #215234 #212752
split-complementary
#52213F #275221 #21524C
monochromatic
#160911 #260F1D #52213F #7E3361 #A94482

Accessibility & contrast

On white

12.74
#52213F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#52213F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##52213F#FFFFFF#000000##FFFFFF
##52213F1.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)
#252D40
Deuteranopia (green-blind)
#33353E
Tritanopia (blue-blind)
#57212D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #52213f;
/* rgb */ color: rgb(82, 33, 63);
/* oklch */ color: oklch(33.0% 0.083 345.0);
Tailwind
colors: {
  custom: {
    50: '#845f74',
    500: '#52213f',
    950: '#000000',
  },
}
SCSS
$custom: #52213f;
$custom-light: #845f74;
$custom-dark: #000000;
JSON
{
  "hex": "#52213f",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 63
  },
  "hsl": {
    "h": 323.265,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32972,
    "c": 0.08347,
    "h": 345
  },
  "luminance": 0.0324
}

Semantic roles & 50–950 ramp

primary
#52213F
secondary
#498660
accent
#D28655
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0508
muted
#7C797B

Preview Lab

Preview with #52213F

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

Preview Lab → · Contrast checker → · Palette generator →

#52213F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva