#52162B#52162B

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

Color values

HEX#52162B
RGBrgb(82, 22, 43)
HSLhsl(339, 58%, 20%)
HSVhsv(339, 73%, 32%)
CMYKcmyk(0%, 73.2%, 47.6%, 67.8%)
CIE-LABlab(18.11, 29.78, 1.56)
CIE-LCHlch(18.11, 29.82, 2.99°)
OKLaboklab(30.59% 0.0911 0.0044)
OKLCHoklch(30.59% 0.091 2.7)
XYZxyz(4.2029, 2.5426, 2.5545)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52162B #16523D
analogous
#521649 #52162B #521F16
triadic
#52162B #2B5216 #162B52
tetradic
#52162B #495216 #16523D #1F1652
square
#52162B #495216 #16523D #1F1652
split-complementary
#52162B #16521F #164952
monochromatic
#18060D #220912 #52162B #822344 #B3305E

Accessibility & contrast

On white

13.92
#52162B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52162B
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52162B#FFFFFF#000000##FFFFFF
##52162B1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52162b;
/* rgb */ color: rgb(82, 22, 43);
/* oklch */ color: oklch(30.6% 0.091 2.7);
Tailwind
colors: {
  custom: {
    50: '#865864',
    500: '#52162b',
    950: '#000000',
  },
}
SCSS
$custom: #52162b;
$custom-light: #865864;
$custom-dark: #000000;
JSON
{
  "hex": "#52162b",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 339,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30589,
    "c": 0.09116,
    "h": 2.7
  },
  "luminance": 0.02542
}

Semantic roles & 50–950 ramp

primary
#52162B
secondary
#3A896E
accent
#E1AB47
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #52162B

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

Preview Lab → · Contrast checker → · Palette generator →

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