#8F1E79#8F1E79

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

Color values

HEX#8F1E79
RGBrgb(143, 30, 121)
HSLhsl(312, 65%, 34%)
HSVhsv(312, 79%, 56%)
CMYKcmyk(0%, 79%, 15.4%, 43.9%)
CIE-LABlab(34.29, 54.87, -24.77)
CIE-LCHlch(34.29, 60.20, 335.71°)
OKLaboklab(45.69% 0.1621 -0.0674)
OKLCHoklch(45.69% 0.176 337.4)
XYZxyz(15.2435, 8.1501, 18.8558)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1E79 #1E8F34
analogous
#6D1E8F #8F1E79 #8F1E41
triadic
#8F1E79 #798F1E #1E798F
tetradic
#8F1E79 #8F6D1E #1E8F34 #1E418F
square
#8F1E79 #8F6D1E #1E8F34 #1E418F
split-complementary
#8F1E79 #418F1E #1E8F6D
monochromatic
#2A0923 #5C134E #8F1E79 #C229A4 #DA4EBE

Accessibility & contrast

On white

7.99
#8F1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1E79
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1E79#FFFFFF#000000##FFFFFF
##8F1E791.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467B
Deuteranopia (green-blind)
#4A5776
Tritanopia (blue-blind)
#97254A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1e79;
/* rgb */ color: rgb(143, 30, 121);
/* oklch */ color: oklch(45.7% 0.176 337.4);
Tailwind
colors: {
  custom: {
    50: '#b368a0',
    500: '#8f1e79',
    950: '#000000',
  },
}
SCSS
$custom: #8f1e79;
$custom-light: #b368a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1e79",
  "rgb": {
    "r": 143,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 311.681,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4569,
    "c": 0.17557,
    "h": 337.4
  },
  "luminance": 0.08149
}

Semantic roles & 50–950 ramp

primary
#8F1E79
secondary
#4CBC62
accent
#E86040
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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