#8F2A71#8F2A71

#8F2A71 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.156 H 341.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8F2A71
RGBrgb(143, 42, 113)
HSLhsl(318, 55%, 36%)
HSVhsv(318, 71%, 56%)
CMYKcmyk(0%, 70.6%, 21%, 43.9%)
CIE-LABlab(35.38, 49.56, -18.04)
CIE-LCHlch(35.38, 52.74, 340.00°)
OKLaboklab(46.35% 0.1484 -0.0484)
OKLCHoklch(46.35% 0.156 341.9)
XYZxyz(15.1368, 8.6893, 16.4996)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A71 #2A8F48
analogous
#7B2A8F #8F2A71 #8F2A3F
triadic
#8F2A71 #718F2A #2A718F
tetradic
#8F2A71 #8F7B2A #2A8F48 #2A3F8F
square
#8F2A71 #8F7B2A #2A8F48 #2A3F8F
split-complementary
#8F2A71 #3F8F2A #2A8F7B
monochromatic
#300E26 #601C4C #8F2A71 #BE3896 #D162B0

Accessibility & contrast

On white

7.67
#8F2A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8F2A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A71
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A71#FFFFFF#000000##FFFFFF
##8F2A711.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324973
Deuteranopia (green-blind)
#51596F
Tritanopia (blue-blind)
#982B49
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2a71;
/* rgb */ color: rgb(143, 42, 113);
/* oklch */ color: oklch(46.4% 0.156 341.9);
Tailwind
colors: {
  custom: {
    50: '#b36c9a',
    500: '#8f2a71',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a71;
$custom-light: #b36c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a71",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 317.822,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46352,
    "c": 0.15611,
    "h": 341.9
  },
  "luminance": 0.08688
}

Semantic roles & 50–950 ramp

primary
#8F2A71
secondary
#5EB778
accent
#DE764A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2A71

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

Preview Lab → · Contrast checker → · Palette generator →

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