#52162C#52162C

#52162C is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.092 H 1.7°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#52162C
RGBrgb(82, 22, 44)
HSLhsl(338, 58%, 20%)
HSVhsv(338, 73%, 32%)
CMYKcmyk(0%, 73.2%, 46.3%, 67.8%)
CIE-LABlab(18.14, 29.90, 0.89)
CIE-LCHlch(18.14, 29.91, 1.71°)
OKLaboklab(30.63% 0.0915 0.0027)
OKLCHoklch(30.63% 0.092 1.7)
XYZxyz(4.2215, 2.5500, 2.6523)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52162C #16523C
analogous
#52164A #52162C #521E16
triadic
#52162C #2C5216 #162C52
tetradic
#52162C #4A5216 #16523C #1E1652
square
#52162C #4A5216 #16523C #1E1652
split-complementary
#52162C #16521E #164A52
monochromatic
#18060D #220912 #52162C #822346 #B33060

Accessibility & contrast

On white

13.91
#52162C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#52162C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52162C
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52162C#FFFFFF#000000##FFFFFF
##52162C1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22252D
Deuteranopia (green-blind)
#32312B
Tritanopia (blue-blind)
#590E1F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #52162c;
/* rgb */ color: rgb(82, 22, 44);
/* oklch */ color: oklch(30.6% 0.092 1.7);
Tailwind
colors: {
  custom: {
    50: '#865864',
    500: '#52162c',
    950: '#000000',
  },
}
SCSS
$custom: #52162c;
$custom-light: #865864;
$custom-dark: #000000;
JSON
{
  "hex": "#52162c",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 44
  },
  "hsl": {
    "h": 338,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30625,
    "c": 0.09151,
    "h": 1.7
  },
  "luminance": 0.0255
}

Semantic roles & 50–950 ramp

primary
#52162C
secondary
#3A896C
accent
#E1A847
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #52162C

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

Preview Lab → · Contrast checker → · Palette generator →

#52162C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva