#8F2D7D#8F2D7D

#8F2D7D is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.161 H 336.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8F2D7D
RGBrgb(143, 45, 125)
HSLhsl(311, 52%, 37%)
HSVhsv(311, 69%, 56%)
CMYKcmyk(0%, 68.5%, 12.6%, 43.9%)
CIE-LABlab(36.36, 50.19, -24.03)
CIE-LCHlch(36.36, 55.65, 334.41°)
OKLaboklab(47.25% 0.1468 -0.0654)
OKLCHoklch(47.25% 0.161 336)
XYZxyz(15.9680, 9.1984, 20.3325)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D7D #2D8F3F
analogous
#702D8F #8F2D7D #8F2D4C
triadic
#8F2D7D #7D8F2D #2D7D8F
tetradic
#8F2D7D #8F702D #2D8F3F #2D4C8F
square
#8F2D7D #8F702D #2D8F3F #2D4C8F
split-complementary
#8F2D7D #4C8F2D #2D8F70
monochromatic
#32102C #601E54 #8F2D7D #BE3CA6 #CF67BC

Accessibility & contrast

On white

7.40
#8F2D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8F2D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2D7D
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D7D#FFFFFF#000000##FFFFFF
##8F2D7D1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#4E5B7B
Tritanopia (blue-blind)
#963351
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2d7d;
/* rgb */ color: rgb(143, 45, 125);
/* oklch */ color: oklch(47.3% 0.161 336.0);
Tailwind
colors: {
  custom: {
    50: '#b36ea3',
    500: '#8f2d7d',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d7d;
$custom-light: #b36ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d7d",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 311.02,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47251,
    "c": 0.16072,
    "h": 336
  },
  "luminance": 0.09197
}

Semantic roles & 50–950 ramp

primary
#8F2D7D
secondary
#62B671
accent
#DC674C
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F2D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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