#8D2F6D#8D2F6D

#8D2F6D is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.4% C 0.145 H 343.8°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8D2F6D
RGBrgb(141, 47, 109)
HSLhsl(320, 50%, 37%)
HSVhsv(320, 67%, 55%)
CMYKcmyk(0%, 66.7%, 22.7%, 44.7%)
CIE-LABlab(35.60, 46.35, -15.21)
CIE-LCHlch(35.60, 48.79, 341.83°)
OKLaboklab(46.39% 0.1392 -0.0405)
OKLCHoklch(46.39% 0.145 343.8)
XYZxyz(14.7618, 8.8013, 15.3864)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F6D #2F8D4F
analogous
#7E2F8D #8D2F6D #8D2F3E
triadic
#8D2F6D #6D8D2F #2F6D8D
tetradic
#8D2F6D #8D7E2F #2F8D4F #2F3E8D
square
#8D2F6D #8D7E2F #2F8D4F #2F3E8D
split-complementary
#8D2F6D #3E8D2F #2F8D7E
monochromatic
#311026 #5F204A #8D2F6D #BB3E90 #CD69AB

Accessibility & contrast

On white

7.61
#8D2F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8D2F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2F6D
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F6D#FFFFFF#000000##FFFFFF
##8D2F6D1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384A6F
Deuteranopia (green-blind)
#53596B
Tritanopia (blue-blind)
#962F49
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2f6d;
/* rgb */ color: rgb(141, 47, 109);
/* oklch */ color: oklch(46.4% 0.145 343.8);
Tailwind
colors: {
  custom: {
    50: '#b16e97',
    500: '#8d2f6d',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f6d;
$custom-light: #b16e97;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f6d",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 320.426,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4639,
    "c": 0.14502,
    "h": 343.8
  },
  "luminance": 0.088
}

Semantic roles & 50–950 ramp

primary
#8D2F6D
secondary
#64B47F
accent
#DA7E4E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8D2F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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