#8D2F5D#8D2F5D

#8D2F5D is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.7% C 0.136 H 353.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8D2F5D
RGBrgb(141, 47, 93)
HSLhsl(331, 50%, 37%)
HSVhsv(331, 67%, 55%)
CMYKcmyk(0%, 66.7%, 34%, 44.7%)
CIE-LABlab(34.98, 44.18, -5.97)
CIE-LCHlch(34.98, 44.58, 352.30°)
OKLaboklab(45.73% 0.1349 -0.0152)
OKLCHoklch(45.73% 0.136 353.6)
XYZxyz(13.9776, 8.4876, 11.2560)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F5D #2F8D5F
analogous
#8D2F8C #8D2F5D #8D302F
triadic
#8D2F5D #5D8D2F #2F5D8D
tetradic
#8D2F5D #8C8D2F #2F8D5F #302F8D
square
#8D2F5D #8C8D2F #2F8D5F #302F8D
split-complementary
#8D2F5D #2F8D30 #2F8C8D
monochromatic
#311020 #5F203F #8D2F5D #BB3E7B #CD699A

Accessibility & contrast

On white

7.79
#8D2F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8D2F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2F5D
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F5D#FFFFFF#000000##FFFFFF
##8D2F5D1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475E
Deuteranopia (green-blind)
#58595B
Tritanopia (blue-blind)
#982942
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2f5d;
/* rgb */ color: rgb(141, 47, 93);
/* oklch */ color: oklch(45.7% 0.136 353.6);
Tailwind
colors: {
  custom: {
    50: '#b26e8a',
    500: '#8d2f5d',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f5d;
$custom-light: #b26e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f5d",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 330.638,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45729,
    "c": 0.13572,
    "h": 353.6
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#8D2F5D
secondary
#64B48D
accent
#DA954E
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8D2F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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