#8D2F52#8D2F52

#8D2F52 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.3% C 0.131 H 0.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8D2F52
RGBrgb(141, 47, 82)
HSLhsl(338, 50%, 37%)
HSVhsv(338, 67%, 55%)
CMYKcmyk(0%, 66.7%, 41.8%, 44.7%)
CIE-LABlab(34.61, 42.88, 0.56)
CIE-LCHlch(34.61, 42.88, 0.75°)
OKLaboklab(45.34% 0.1311 0.002)
OKLCHoklch(45.34% 0.131 0.9)
XYZxyz(13.5249, 8.3065, 8.8721)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F52 #2F8D6A
analogous
#8D2F81 #8D2F52 #8D3B2F
triadic
#8D2F52 #528D2F #2F528D
tetradic
#8D2F52 #818D2F #2F8D6A #3B2F8D
square
#8D2F52 #818D2F #2F8D6A #3B2F8D
split-complementary
#8D2F52 #2F8D3B #2F818D
monochromatic
#31101D #5F2037 #8D2F52 #BB3E6D #CD698E

Accessibility & contrast

On white

7.89
#8D2F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8D2F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2F52
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F52#FFFFFF#000000##FFFFFF
##8D2F521.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414653
Deuteranopia (green-blind)
#5A5850
Tritanopia (blue-blind)
#99243D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d2f52;
/* rgb */ color: rgb(141, 47, 82);
/* oklch */ color: oklch(45.3% 0.131 0.9);
Tailwind
colors: {
  custom: {
    50: '#b26e82',
    500: '#8d2f52',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f52;
$custom-light: #b26e82;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f52",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 337.66,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45339,
    "c": 0.13112,
    "h": 0.9
  },
  "luminance": 0.08305
}

Semantic roles & 50–950 ramp

primary
#8D2F52
secondary
#64B496
accent
#DAA64E
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8D2F52

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

Preview Lab → · Contrast checker → · Palette generator →

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