#52162F#52162F

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

Color values

HEX#52162F
RGBrgb(82, 22, 47)
HSLhsl(335, 58%, 20%)
HSVhsv(335, 73%, 32%)
CMYKcmyk(0%, 73.2%, 42.7%, 67.8%)
CIE-LABlab(18.25, 30.27, -1.09)
CIE-LCHlch(18.25, 30.29, 357.94°)
OKLaboklab(30.74% 0.0927 -0.0025)
OKLCHoklch(30.74% 0.093 358.5)
XYZxyz(4.2800, 2.5734, 2.9601)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52162F #165239
analogous
#52164D #52162F #521B16
triadic
#52162F #2F5216 #162F52
tetradic
#52162F #4D5216 #165239 #1B1652
square
#52162F #4D5216 #165239 #1B1652
split-complementary
#52162F #16521B #164D52
monochromatic
#18060E #220913 #52162F #82234B #B33066

Accessibility & contrast

On white

13.87
#52162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52162F
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52162F#FFFFFF#000000##FFFFFF
##52162F1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212530
Deuteranopia (green-blind)
#32312E
Tritanopia (blue-blind)
#591020
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #52162f;
/* rgb */ color: rgb(82, 22, 47);
/* oklch */ color: oklch(30.7% 0.093 358.5);
Tailwind
colors: {
  custom: {
    50: '#865867',
    500: '#52162f',
    950: '#000000',
  },
}
SCSS
$custom: #52162f;
$custom-light: #865867;
$custom-dark: #000000;
JSON
{
  "hex": "#52162f",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 335,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30736,
    "c": 0.09269,
    "h": 358.5
  },
  "luminance": 0.02573
}

Semantic roles & 50–950 ramp

primary
#52162F
secondary
#3A8968
accent
#E1A147
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #52162F

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

Preview Lab → · Contrast checker → · Palette generator →

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