#8F1E7A#8F1E7A

#8F1E7A is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.176 H 337.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8F1E7A
RGBrgb(143, 30, 122)
HSLhsl(311, 65%, 34%)
HSVhsv(311, 79%, 56%)
CMYKcmyk(0%, 79%, 14.7%, 43.9%)
CIE-LABlab(34.34, 55.02, -25.31)
CIE-LCHlch(34.34, 60.56, 335.29°)
OKLaboklab(45.74% 0.1622 -0.0689)
OKLCHoklch(45.74% 0.176 337)
XYZxyz(15.3051, 8.1748, 19.1804)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1E7A #1E8F33
analogous
#6C1E8F #8F1E7A #8F1E42
triadic
#8F1E7A #7A8F1E #1E7A8F
tetradic
#8F1E7A #8F6C1E #1E8F33 #1E428F
square
#8F1E7A #8F6C1E #1E8F33 #1E428F
split-complementary
#8F1E7A #428F1E #1E8F6C
monochromatic
#2A0924 #5C134F #8F1E7A #C229A5 #DA4EC0

Accessibility & contrast

On white

7.97
#8F1E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8F1E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1E7A
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1E7A#FFFFFF#000000##FFFFFF
##8F1E7A1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467C
Deuteranopia (green-blind)
#4A5777
Tritanopia (blue-blind)
#97264B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1e7a;
/* rgb */ color: rgb(143, 30, 122);
/* oklch */ color: oklch(45.7% 0.176 337.0);
Tailwind
colors: {
  custom: {
    50: '#b368a0',
    500: '#8f1e7a',
    950: '#000000',
  },
}
SCSS
$custom: #8f1e7a;
$custom-light: #b368a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1e7a",
  "rgb": {
    "r": 143,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 311.15,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45742,
    "c": 0.17627,
    "h": 337
  },
  "luminance": 0.08173
}

Semantic roles & 50–950 ramp

primary
#8F1E7A
secondary
#4CBC61
accent
#E85F40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8F1E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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