#52102F#52102F

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

Color values

HEX#52102F
RGBrgb(82, 16, 47)
HSLhsl(332, 67%, 19%)
HSVhsv(332, 80%, 32%)
CMYKcmyk(0%, 80.5%, 42.7%, 67.8%)
CIE-LABlab(17.32, 32.84, -2.46)
CIE-LCHlch(17.32, 32.93, 355.72°)
OKLaboklab(30.05% 0.1008 -0.006)
OKLCHoklch(30.05% 0.101 356.6)
XYZxyz(4.1783, 2.3702, 2.9262)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52102F #105233
analogous
#521050 #52102F #521210
triadic
#52102F #2F5210 #102F52
tetradic
#52102F #505210 #105233 #121052
square
#52102F #505210 #105233 #121052
split-complementary
#52102F #105212 #105052
monochromatic
#1A050F #1F0612 #52102F #851A4C #B8246A

Accessibility & contrast

On white

14.25
#52102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52102F
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52102F#FFFFFF#000000##FFFFFF
##52102F1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2330
Deuteranopia (green-blind)
#2F2F2D
Tritanopia (blue-blind)
#59081D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #52102f;
/* rgb */ color: rgb(82, 16, 47);
/* oklch */ color: oklch(30.1% 0.101 356.6);
Tailwind
colors: {
  custom: {
    50: '#865567',
    500: '#52102f',
    950: '#000000',
  },
}
SCSS
$custom: #52102f;
$custom-light: #865567;
$custom-dark: #000000;
JSON
{
  "hex": "#52102f",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 331.818,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30054,
    "c": 0.101,
    "h": 356.6
  },
  "luminance": 0.0237
}

Semantic roles & 50–950 ramp

primary
#52102F
secondary
#328C62
accent
#EA993E
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #52102F

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

Preview Lab → · Contrast checker → · Palette generator →

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