#52163F#52163F

#52163F is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.102 H 342.7°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#52163F
RGBrgb(82, 22, 63)
HSLhsl(319, 58%, 20%)
HSVhsv(319, 73%, 32%)
CMYKcmyk(0%, 73.2%, 23.2%, 67.8%)
CIE-LABlab(18.92, 32.55, -11.34)
CIE-LCHlch(18.92, 34.47, 340.80°)
OKLaboklab(31.45% 0.0976 -0.0303)
OKLCHoklch(31.45% 0.102 342.7)
XYZxyz(4.6639, 2.7270, 4.9824)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52163F #165229
analogous
#471652 #52163F #521621
triadic
#52163F #3F5216 #163F52
tetradic
#52163F #524716 #165229 #162152
square
#52163F #524716 #165229 #162152
split-complementary
#52163F #215216 #165247
monochromatic
#180613 #22091A #52163F #822364 #B33089

Accessibility & contrast

On white

13.59
#52163F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52163F
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52163F#FFFFFF#000000##FFFFFF
##52163F1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2840
Deuteranopia (green-blind)
#2D323E
Tritanopia (blue-blind)
#571628
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #52163f;
/* rgb */ color: rgb(82, 22, 63);
/* oklch */ color: oklch(31.4% 0.102 342.7);
Tailwind
colors: {
  custom: {
    50: '#855974',
    500: '#52163f',
    950: '#000000',
  },
}
SCSS
$custom: #52163f;
$custom-light: #855974;
$custom-dark: #000000;
JSON
{
  "hex": "#52163f",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 63
  },
  "hsl": {
    "h": 319,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31446,
    "c": 0.10222,
    "h": 342.7
  },
  "luminance": 0.02727
}

Semantic roles & 50–950 ramp

primary
#52163F
secondary
#3A8953
accent
#E17847
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #52163F

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

Preview Lab → · Contrast checker → · Palette generator →

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