#52102C#52102C

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

Color values

HEX#52102C
RGBrgb(82, 16, 44)
HSLhsl(335, 67%, 19%)
HSVhsv(335, 80%, 32%)
CMYKcmyk(0%, 80.5%, 46.3%, 67.8%)
CIE-LABlab(17.21, 32.49, -0.47)
CIE-LCHlch(17.21, 32.49, 359.18°)
OKLaboklab(29.94% 0.0997 -0.0008)
OKLCHoklch(29.94% 0.1 359.5)
XYZxyz(4.1199, 2.3468, 2.6184)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52102C #105236
analogous
#52104D #52102C #521510
triadic
#52102C #2C5210 #102C52
tetradic
#52102C #4D5210 #105236 #151052
square
#52102C #4D5210 #105236 #151052
split-complementary
#52102C #105215 #104D52
monochromatic
#1A050E #1F0611 #52102C #851A47 #B82463

Accessibility & contrast

On white

14.29
#52102C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52102C
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52102C#FFFFFF#000000##FFFFFF
##52102C1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E222D
Deuteranopia (green-blind)
#302F2A
Tritanopia (blue-blind)
#59061C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #52102c;
/* rgb */ color: rgb(82, 16, 44);
/* oklch */ color: oklch(29.9% 0.100 359.5);
Tailwind
colors: {
  custom: {
    50: '#865564',
    500: '#52102c',
    950: '#000000',
  },
}
SCSS
$custom: #52102c;
$custom-light: #865564;
$custom-dark: #000000;
JSON
{
  "hex": "#52102c",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 44
  },
  "hsl": {
    "h": 334.545,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29937,
    "c": 0.09971,
    "h": 359.5
  },
  "luminance": 0.02346
}

Semantic roles & 50–950 ramp

primary
#52102C
secondary
#328C66
accent
#EAA13E
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #52102C

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

Preview Lab → · Contrast checker → · Palette generator →

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