#52132A#52132A

#52132A is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.095 H 2.6°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#52132A
RGBrgb(82, 19, 42)
HSLhsl(338, 62%, 20%)
HSVhsv(338, 77%, 32%)
CMYKcmyk(0%, 76.8%, 48.8%, 67.8%)
CIE-LABlab(17.59, 31.02, 1.51)
CIE-LCHlch(17.59, 31.06, 2.79°)
OKLaboklab(30.19% 0.095 0.0042)
OKLCHoklch(30.19% 0.095 2.6)
XYZxyz(4.1308, 2.4273, 2.4410)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52132A #13523B
analogous
#52134A #52132A #521B13
triadic
#52132A #2A5213 #132A52
tetradic
#52132A #4A5213 #13523B #1B1352
square
#52132A #4A5213 #13523B #1B1352
split-complementary
#52132A #13521B #134A52
monochromatic
#19060D #200711 #52132A #841F43 #B52A5D

Accessibility & contrast

On white

14.14
#52132A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#52132A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52132A
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52132A#FFFFFF#000000##FFFFFF
##52132A1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21232B
Deuteranopia (green-blind)
#323029
Tritanopia (blue-blind)
#5A091C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #52132a;
/* rgb */ color: rgb(82, 19, 42);
/* oklch */ color: oklch(30.2% 0.095 2.6);
Tailwind
colors: {
  custom: {
    50: '#865663',
    500: '#52132a',
    950: '#000000',
  },
}
SCSS
$custom: #52132a;
$custom-light: #865663;
$custom-dark: #000000;
JSON
{
  "hex": "#52132a",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 42
  },
  "hsl": {
    "h": 338.095,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30191,
    "c": 0.09505,
    "h": 2.6
  },
  "luminance": 0.02427
}

Semantic roles & 50–950 ramp

primary
#52132A
secondary
#368A6C
accent
#E5AA42
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #52132A

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

Preview Lab → · Contrast checker → · Palette generator →

#52132A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva