#52102B#52102B

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

Color values

HEX#52102B
RGBrgb(82, 16, 43)
HSLhsl(335, 67%, 19%)
HSVhsv(335, 80%, 32%)
CMYKcmyk(0%, 80.5%, 47.6%, 67.8%)
CIE-LABlab(17.18, 32.37, 0.20)
CIE-LCHlch(17.18, 32.37, 0.35°)
OKLaboklab(29.9% 0.0993 0.0009)
OKLCHoklch(29.9% 0.099 0.5)
XYZxyz(4.1013, 2.3394, 2.5206)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52102B #105237
analogous
#52104C #52102B #521610
triadic
#52102B #2B5210 #102B52
tetradic
#52102B #4C5210 #105237 #161052
square
#52102B #4C5210 #105237 #161052
split-complementary
#52102B #105216 #104C52
monochromatic
#1A050D #1F0610 #52102B #851A46 #B82461

Accessibility & contrast

On white

14.31
#52102B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52102B
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52102B#FFFFFF#000000##FFFFFF
##52102B1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F222C
Deuteranopia (green-blind)
#302F29
Tritanopia (blue-blind)
#5A061C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #52102b;
/* rgb */ color: rgb(82, 16, 43);
/* oklch */ color: oklch(29.9% 0.099 0.5);
Tailwind
colors: {
  custom: {
    50: '#865564',
    500: '#52102b',
    950: '#000000',
  },
}
SCSS
$custom: #52102b;
$custom-light: #865564;
$custom-dark: #000000;
JSON
{
  "hex": "#52102b",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 43
  },
  "hsl": {
    "h": 335.455,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.299,
    "c": 0.09932,
    "h": 0.5
  },
  "luminance": 0.02339
}

Semantic roles & 50–950 ramp

primary
#52102B
secondary
#328C67
accent
#EAA43E
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #52102B

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

Preview Lab → · Contrast checker → · Palette generator →

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