#52162D#52162D

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

Color values

HEX#52162D
RGBrgb(82, 22, 45)
HSLhsl(337, 58%, 20%)
HSVhsv(337, 73%, 32%)
CMYKcmyk(0%, 73.2%, 45.1%, 67.8%)
CIE-LABlab(18.18, 30.02, 0.23)
CIE-LCHlch(18.18, 30.02, 0.44°)
OKLaboklab(30.66% 0.0919 0.001)
OKLCHoklch(30.66% 0.092 0.6)
XYZxyz(4.2405, 2.5576, 2.7525)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52162D #16523B
analogous
#52164B #52162D #521D16
triadic
#52162D #2D5216 #162D52
tetradic
#52162D #4B5216 #16523B #1D1652
square
#52162D #4B5216 #16523B #1D1652
split-complementary
#52162D #16521D #164B52
monochromatic
#18060D #220913 #52162D #822347 #B33062

Accessibility & contrast

On white

13.89
#52162D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52162D
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52162D#FFFFFF#000000##FFFFFF
##52162D1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22252E
Deuteranopia (green-blind)
#32312C
Tritanopia (blue-blind)
#590F1F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #52162d;
/* rgb */ color: rgb(82, 22, 45);
/* oklch */ color: oklch(30.7% 0.092 0.6);
Tailwind
colors: {
  custom: {
    50: '#865865',
    500: '#52162d',
    950: '#000000',
  },
}
SCSS
$custom: #52162d;
$custom-light: #865865;
$custom-dark: #000000;
JSON
{
  "hex": "#52162d",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 45
  },
  "hsl": {
    "h": 337,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30661,
    "c": 0.09187,
    "h": 0.6
  },
  "luminance": 0.02557
}

Semantic roles & 50–950 ramp

primary
#52162D
secondary
#3A896B
accent
#E1A647
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #52162D

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

Preview Lab → · Contrast checker → · Palette generator →

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