#52173F#52173F

#52173F is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.6% C 0.101 H 342.9°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#52173F
RGBrgb(82, 23, 63)
HSLhsl(319, 56%, 21%)
HSVhsv(319, 72%, 32%)
CMYKcmyk(0%, 72%, 23.2%, 67.8%)
CIE-LABlab(19.08, 32.09, -11.08)
CIE-LCHlch(19.08, 33.95, 340.95°)
OKLaboklab(31.57% 0.0962 -0.0296)
OKLCHoklch(31.57% 0.101 342.9)
XYZxyz(4.6834, 2.7660, 4.9889)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52173F #17522A
analogous
#471752 #52173F #521721
triadic
#52173F #3F5217 #173F52
tetradic
#52173F #524717 #17522A #172152
square
#52173F #524717 #17522A #172152
split-complementary
#52173F #215217 #175247
monochromatic
#180712 #220A1A #52173F #822464 #B23288

Accessibility & contrast

On white

13.52
#52173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#52173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52173F
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52173F#FFFFFF#000000##FFFFFF
##52173F1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2840
Deuteranopia (green-blind)
#2E323E
Tritanopia (blue-blind)
#571728
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #52173f;
/* rgb */ color: rgb(82, 23, 63);
/* oklch */ color: oklch(31.6% 0.101 342.9);
Tailwind
colors: {
  custom: {
    50: '#855974',
    500: '#52173f',
    950: '#000000',
  },
}
SCSS
$custom: #52173f;
$custom-light: #855974;
$custom-dark: #000000;
JSON
{
  "hex": "#52173f",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 319.322,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31568,
    "c": 0.10069,
    "h": 342.9
  },
  "luminance": 0.02766
}

Semantic roles & 50–950 ramp

primary
#52173F
secondary
#3C8955
accent
#DF7948
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #52173F

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

Preview Lab → · Contrast checker → · Palette generator →

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