#8F2D7E#8F2D7E

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

Color values

HEX#8F2D7E
RGBrgb(143, 45, 126)
HSLhsl(310, 52%, 37%)
HSVhsv(310, 69%, 56%)
CMYKcmyk(0%, 68.5%, 11.9%, 43.9%)
CIE-LABlab(36.41, 50.35, -24.58)
CIE-LCHlch(36.41, 56.03, 333.98°)
OKLaboklab(47.3% 0.1469 -0.067)
OKLCHoklch(47.3% 0.161 335.5)
XYZxyz(16.0322, 9.2241, 20.6707)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D7E #2D8F3E
analogous
#6F2D8F #8F2D7E #8F2D4D
triadic
#8F2D7E #7E8F2D #2D7E8F
tetradic
#8F2D7E #8F6F2D #2D8F3E #2D4D8F
square
#8F2D7E #8F6F2D #2D8F3E #2D4D8F
split-complementary
#8F2D7E #4D8F2D #2D8F6F
monochromatic
#32102C #601E55 #8F2D7E #BE3CA7 #CF67BD

Accessibility & contrast

On white

7.38
#8F2D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2D7E
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D7E#FFFFFF#000000##FFFFFF
##8F2D7E1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f2d7e;
/* rgb */ color: rgb(143, 45, 126);
/* oklch */ color: oklch(47.3% 0.161 335.5);
Tailwind
colors: {
  custom: {
    50: '#b36ea3',
    500: '#8f2d7e',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d7e;
$custom-light: #b36ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d7e",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 310.408,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47302,
    "c": 0.16148,
    "h": 335.5
  },
  "luminance": 0.09223
}

Semantic roles & 50–950 ramp

primary
#8F2D7E
secondary
#62B670
accent
#DC654C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F2D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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