#52102A#52102A

#52102A is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.9% C 0.099 H 1.5°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#52102A
RGBrgb(82, 16, 42)
HSLhsl(336, 67%, 19%)
HSVhsv(336, 80%, 32%)
CMYKcmyk(0%, 80.5%, 48.8%, 67.8%)
CIE-LABlab(17.14, 32.26, 0.87)
CIE-LCHlch(17.14, 32.28, 1.54°)
OKLaboklab(29.86% 0.0989 0.0026)
OKLCHoklch(29.86% 0.099 1.5)
XYZxyz(4.0832, 2.3321, 2.4252)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52102A #105238
analogous
#52104B #52102A #521710
triadic
#52102A #2A5210 #102A52
tetradic
#52102A #4B5210 #105238 #171052
square
#52102A #4B5210 #105238 #171052
split-complementary
#52102A #105217 #104B52
monochromatic
#1A050D #1F0610 #52102A #851A44 #B8245E

Accessibility & contrast

On white

14.32
#52102A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#52102A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52102A
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52102A#FFFFFF#000000##FFFFFF
##52102A1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F222B
Deuteranopia (green-blind)
#312F28
Tritanopia (blue-blind)
#5A051B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #52102a;
/* rgb */ color: rgb(82, 16, 42);
/* oklch */ color: oklch(29.9% 0.099 1.5);
Tailwind
colors: {
  custom: {
    50: '#865563',
    500: '#52102a',
    950: '#000000',
  },
}
SCSS
$custom: #52102a;
$custom-light: #865563;
$custom-dark: #000000;
JSON
{
  "hex": "#52102a",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 42
  },
  "hsl": {
    "h": 336.364,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29863,
    "c": 0.09896,
    "h": 1.5
  },
  "luminance": 0.02332
}

Semantic roles & 50–950 ramp

primary
#52102A
secondary
#328C68
accent
#EAA63E
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #52102A

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

Preview Lab → · Contrast checker → · Palette generator →

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