#8D2E52#8D2E52

#8D2E52 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.2% C 0.133 H 0.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8D2E52
RGBrgb(141, 46, 82)
HSLhsl(337, 51%, 37%)
HSVhsv(337, 67%, 55%)
CMYKcmyk(0%, 67.4%, 41.8%, 44.7%)
CIE-LABlab(34.45, 43.32, 0.32)
CIE-LCHlch(34.45, 43.32, 0.43°)
OKLaboklab(45.22% 0.1325 0.0014)
OKLCHoklch(45.22% 0.133 0.6)
XYZxyz(13.4854, 8.2275, 8.8589)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E52 #2E8D69
analogous
#8D2E82 #8D2E52 #8D3A2E
triadic
#8D2E52 #528D2E #2E528D
tetradic
#8D2E52 #828D2E #2E8D69 #3A2E8D
square
#8D2E52 #828D2E #2E8D69 #3A2E8D
split-complementary
#8D2E52 #2E8D3A #2E828D
monochromatic
#31101C #5F1F37 #8D2E52 #BB3D6D #CE688E

Accessibility & contrast

On white

7.94
#8D2E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8D2E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E52
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E52#FFFFFF#000000##FFFFFF
##8D2E521.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404553
Deuteranopia (green-blind)
#5A5850
Tritanopia (blue-blind)
#99233C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d2e52;
/* rgb */ color: rgb(141, 46, 82);
/* oklch */ color: oklch(45.2% 0.133 0.6);
Tailwind
colors: {
  custom: {
    50: '#b26d82',
    500: '#8d2e52',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e52;
$custom-light: #b26d82;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e52",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 337.263,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4522,
    "c": 0.13251,
    "h": 0.6
  },
  "luminance": 0.08226
}

Semantic roles & 50–950 ramp

primary
#8D2E52
secondary
#62B595
accent
#DAA54E
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8D2E52

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

Preview Lab → · Contrast checker → · Palette generator →

#8D2E52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva