#52102E#52102E

#52102E is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.0% C 0.101 H 357.5°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#52102E
RGBrgb(82, 16, 46)
HSLhsl(333, 67%, 19%)
HSVhsv(333, 80%, 32%)
CMYKcmyk(0%, 80.5%, 43.9%, 67.8%)
CIE-LABlab(17.28, 32.72, -1.80)
CIE-LCHlch(17.28, 32.77, 356.86°)
OKLaboklab(30.01% 0.1005 -0.0043)
OKLCHoklch(30.01% 0.101 357.5)
XYZxyz(4.1584, 2.3622, 2.8212)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52102E #105234
analogous
#52104F #52102E #521310
triadic
#52102E #2E5210 #102E52
tetradic
#52102E #4F5210 #105234 #131052
square
#52102E #4F5210 #105234 #131052
split-complementary
#52102E #105213 #104F52
monochromatic
#1A050E #1F0611 #52102E #851A4B #B82467

Accessibility & contrast

On white

14.26
#52102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52102E
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52102E#FFFFFF#000000##FFFFFF
##52102E1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E232F
Deuteranopia (green-blind)
#302F2C
Tritanopia (blue-blind)
#59071D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #52102e;
/* rgb */ color: rgb(82, 16, 46);
/* oklch */ color: oklch(30.0% 0.101 357.5);
Tailwind
colors: {
  custom: {
    50: '#865566',
    500: '#52102e',
    950: '#000000',
  },
}
SCSS
$custom: #52102e;
$custom-light: #865566;
$custom-dark: #000000;
JSON
{
  "hex": "#52102e",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 332.727,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30014,
    "c": 0.10055,
    "h": 357.5
  },
  "luminance": 0.02362
}

Semantic roles & 50–950 ramp

primary
#52102E
secondary
#328C63
accent
#EA9C3E
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #52102E

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

Preview Lab → · Contrast checker → · Palette generator →

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