#52162E#52162E

#52162E is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.7% C 0.092 H 359.5°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#52162E
RGBrgb(82, 22, 46)
HSLhsl(336, 58%, 20%)
HSVhsv(336, 73%, 32%)
CMYKcmyk(0%, 73.2%, 43.9%, 67.8%)
CIE-LABlab(18.21, 30.14, -0.43)
CIE-LCHlch(18.21, 30.15, 359.18°)
OKLaboklab(30.7% 0.0923 -0.0008)
OKLCHoklch(30.7% 0.092 359.5)
XYZxyz(4.2600, 2.5654, 2.8551)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52162E #16523A
analogous
#52164C #52162E #521C16
triadic
#52162E #2E5216 #162E52
tetradic
#52162E #4C5216 #16523A #1C1652
square
#52162E #4C5216 #16523A #1C1652
split-complementary
#52162E #16521C #164C52
monochromatic
#18060E #220913 #52162E #822349 #B33064

Accessibility & contrast

On white

13.88
#52162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52162E
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52162E#FFFFFF#000000##FFFFFF
##52162E1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52162e;
/* rgb */ color: rgb(82, 22, 46);
/* oklch */ color: oklch(30.7% 0.092 359.5);
Tailwind
colors: {
  custom: {
    50: '#865866',
    500: '#52162e',
    950: '#000000',
  },
}
SCSS
$custom: #52162e;
$custom-light: #865866;
$custom-dark: #000000;
JSON
{
  "hex": "#52162e",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 336,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30698,
    "c": 0.09227,
    "h": 359.5
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#52162E
secondary
#3A896A
accent
#E1A347
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #52162E

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

Preview Lab → · Contrast checker → · Palette generator →

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