#8F2B71#8F2B71

#8F2B71 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.155 H 342.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8F2B71
RGBrgb(143, 43, 113)
HSLhsl(318, 54%, 36%)
HSVhsv(318, 70%, 56%)
CMYKcmyk(0%, 69.9%, 21%, 43.9%)
CIE-LABlab(35.52, 49.16, -17.83)
CIE-LCHlch(35.52, 52.30, 340.07°)
OKLaboklab(46.46% 0.1472 -0.0478)
OKLCHoklch(46.46% 0.155 342)
XYZxyz(15.1727, 8.7611, 16.5116)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2B71 #2B8F49
analogous
#7B2B8F #8F2B71 #8F2B3F
triadic
#8F2B71 #718F2B #2B718F
tetradic
#8F2B71 #8F7B2B #2B8F49 #2B3F8F
square
#8F2B71 #8F7B2B #2B8F49 #2B3F8F
split-complementary
#8F2B71 #3F8F2B #2B8F7B
monochromatic
#310F27 #601D4C #8F2B71 #BE3996 #D064B0

Accessibility & contrast

On white

7.63
#8F2B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8F2B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2B71
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2B71#FFFFFF#000000##FFFFFF
##8F2B711.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334973
Deuteranopia (green-blind)
#52596F
Tritanopia (blue-blind)
#982C4A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f2b71;
/* rgb */ color: rgb(143, 43, 113);
/* oklch */ color: oklch(46.5% 0.155 342.0);
Tailwind
colors: {
  custom: {
    50: '#b36d9a',
    500: '#8f2b71',
    950: '#000000',
  },
}
SCSS
$custom: #8f2b71;
$custom-light: #b36d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2b71",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 318,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46455,
    "c": 0.15479,
    "h": 342
  },
  "luminance": 0.0876
}

Semantic roles & 50–950 ramp

primary
#8F2B71
secondary
#5FB779
accent
#DD774B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2B71

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

Preview Lab → · Contrast checker → · Palette generator →

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