#8D2F6A#8D2F6A

#8D2F6A is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.143 H 345.5°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8D2F6A
RGBrgb(141, 47, 106)
HSLhsl(322, 50%, 37%)
HSVhsv(322, 67%, 55%)
CMYKcmyk(0%, 66.7%, 24.8%, 44.7%)
CIE-LABlab(35.47, 45.92, -13.50)
CIE-LCHlch(35.47, 47.87, 343.62°)
OKLaboklab(46.26% 0.1385 -0.0358)
OKLCHoklch(46.26% 0.143 345.5)
XYZxyz(14.6031, 8.7378, 14.5504)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F6A #2F8D52
analogous
#812F8D #8D2F6A #8D2F3B
triadic
#8D2F6A #6A8D2F #2F6A8D
tetradic
#8D2F6A #8D812F #2F8D52 #2F3B8D
square
#8D2F6A #8D812F #2F8D52 #2F3B8D
split-complementary
#8D2F6A #3B8D2F #2F8D81
monochromatic
#311025 #5F2047 #8D2F6A #BB3E8D #CD69A8

Accessibility & contrast

On white

7.64
#8D2F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8D2F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2F6A
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F6A#FFFFFF#000000##FFFFFF
##8D2F6A1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39496C
Deuteranopia (green-blind)
#545968
Tritanopia (blue-blind)
#962E48
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d2f6a;
/* rgb */ color: rgb(141, 47, 106);
/* oklch */ color: oklch(46.3% 0.143 345.5);
Tailwind
colors: {
  custom: {
    50: '#b16e94',
    500: '#8d2f6a',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f6a;
$custom-light: #b16e94;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f6a",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 322.34,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46258,
    "c": 0.14307,
    "h": 345.5
  },
  "luminance": 0.08736
}

Semantic roles & 50–950 ramp

primary
#8D2F6A
secondary
#64B482
accent
#DA824E
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8D2F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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