#8D2F6C#8D2F6C

#8D2F6C is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.3% C 0.144 H 344.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#8D2F6C
RGBrgb(141, 47, 108)
HSLhsl(321, 50%, 37%)
HSVhsv(321, 67%, 55%)
CMYKcmyk(0%, 66.7%, 23.4%, 44.7%)
CIE-LABlab(35.56, 46.21, -14.64)
CIE-LCHlch(35.56, 48.47, 342.42°)
OKLaboklab(46.35% 0.139 -0.039)
OKLCHoklch(46.35% 0.144 344.3)
XYZxyz(14.7083, 8.7799, 15.1045)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F6C #2F8D50
analogous
#7F2F8D #8D2F6C #8D2F3D
triadic
#8D2F6C #6C8D2F #2F6C8D
tetradic
#8D2F6C #8D7F2F #2F8D50 #2F3D8D
square
#8D2F6C #8D7F2F #2F8D50 #2F3D8D
split-complementary
#8D2F6C #3D8D2F #2F8D7F
monochromatic
#311026 #5F2049 #8D2F6C #BB3E8F #CD69AA

Accessibility & contrast

On white

7.62
#8D2F6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2F6C
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F6C#FFFFFF#000000##FFFFFF
##8D2F6C1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384A6E
Deuteranopia (green-blind)
#54596A
Tritanopia (blue-blind)
#962E49
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2f6c;
/* rgb */ color: rgb(141, 47, 108);
/* oklch */ color: oklch(46.3% 0.144 344.3);
Tailwind
colors: {
  custom: {
    50: '#b16e96',
    500: '#8d2f6c',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f6c;
$custom-light: #b16e96;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f6c",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 108
  },
  "hsl": {
    "h": 321.064,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46345,
    "c": 0.14436,
    "h": 344.3
  },
  "luminance": 0.08778
}

Semantic roles & 50–950 ramp

primary
#8D2F6C
secondary
#64B480
accent
#DA7F4E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8D2F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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