#8F2972#8F2972

#8F2972 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.158 H 341.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8F2972
RGBrgb(143, 41, 114)
HSLhsl(317, 55%, 36%)
HSVhsv(317, 71%, 56%)
CMYKcmyk(0%, 71.3%, 20.3%, 43.9%)
CIE-LABlab(35.29, 50.09, -18.82)
CIE-LCHlch(35.29, 53.51, 339.41°)
OKLaboklab(46.3% 0.1498 -0.0506)
OKLCHoklch(46.3% 0.158 341.3)
XYZxyz(15.1583, 8.6419, 16.7861)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2972 #298F46
analogous
#79298F #8F2972 #8F293F
triadic
#8F2972 #728F29 #29728F
tetradic
#8F2972 #8F7929 #298F46 #293F8F
square
#8F2972 #8F7929 #298F46 #293F8F
split-complementary
#8F2972 #3F8F29 #298F79
monochromatic
#300E26 #5F1B4C #8F2972 #BF3798 #D261B2

Accessibility & contrast

On white

7.70
#8F2972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8F2972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2972
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2972#FFFFFF#000000##FFFFFF
##8F29721.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314874
Deuteranopia (green-blind)
#515970
Tritanopia (blue-blind)
#982B4A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2972;
/* rgb */ color: rgb(143, 41, 114);
/* oklch */ color: oklch(46.3% 0.158 341.3);
Tailwind
colors: {
  custom: {
    50: '#b36c9a',
    500: '#8f2972',
    950: '#000000',
  },
}
SCSS
$custom: #8f2972;
$custom-light: #b36c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2972",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 317.059,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46299,
    "c": 0.1581,
    "h": 341.3
  },
  "luminance": 0.0864
}

Semantic roles & 50–950 ramp

primary
#8F2972
secondary
#5CB776
accent
#DF7449
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2972

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

Preview Lab → · Contrast checker → · Palette generator →

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