#8D2D7D#8D2D7D

#8D2D7D is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.159 H 335.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8D2D7D
RGBrgb(141, 45, 125)
HSLhsl(310, 52%, 36%)
HSVhsv(310, 68%, 55%)
CMYKcmyk(0%, 68.1%, 11.3%, 44.7%)
CIE-LABlab(36.03, 49.65, -24.59)
CIE-LCHlch(36.03, 55.41, 333.66°)
OKLaboklab(46.94% 0.1446 -0.067)
OKLCHoklch(46.94% 0.159 335.1)
XYZxyz(15.6247, 9.0215, 20.3165)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2D7D #2D8D3D
analogous
#6D2D8D #8D2D7D #8D2D4D
triadic
#8D2D7D #7D8D2D #2D7D8D
tetradic
#8D2D7D #8D6D2D #2D8D3D #2D4D8D
square
#8D2D7D #8D6D2D #2D8D3D #2D4D8D
split-complementary
#8D2D7D #4D8D2D #2D8D6D
monochromatic
#300F2B #5F1E54 #8D2D7D #BB3CA6 #CE66BD

Accessibility & contrast

On white

7.49
#8D2D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8D2D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2D7D
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2D7D#FFFFFF#000000##FFFFFF
##8D2D7D1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C7F
Deuteranopia (green-blind)
#4D5A7B
Tritanopia (blue-blind)
#943451
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2d7d;
/* rgb */ color: rgb(141, 45, 125);
/* oklch */ color: oklch(46.9% 0.159 335.1);
Tailwind
colors: {
  custom: {
    50: '#b16ea3',
    500: '#8d2d7d',
    950: '#000000',
  },
}
SCSS
$custom: #8d2d7d;
$custom-light: #b16ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2d7d",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 310,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4694,
    "c": 0.15941,
    "h": 335.1
  },
  "luminance": 0.0902
}

Semantic roles & 50–950 ramp

primary
#8D2D7D
secondary
#61B56F
accent
#DB644D
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D2D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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