#8F2D74#8F2D74

#8F2D74 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.8% C 0.154 H 340.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8F2D74
RGBrgb(143, 45, 116)
HSLhsl(317, 52%, 37%)
HSVhsv(317, 69%, 56%)
CMYKcmyk(0%, 68.5%, 18.9%, 43.9%)
CIE-LABlab(35.94, 48.80, -19.06)
CIE-LCHlch(35.94, 52.39, 338.67°)
OKLaboklab(46.81% 0.1454 -0.0513)
OKLCHoklch(46.81% 0.154 340.6)
XYZxyz(15.4189, 8.9788, 17.4406)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2D74 #2D8F48
analogous
#792D8F #8F2D74 #8F2D43
triadic
#8F2D74 #748F2D #2D748F
tetradic
#8F2D74 #8F792D #2D8F48 #2D438F
square
#8F2D74 #8F792D #2D8F48 #2D438F
split-complementary
#8F2D74 #438F2D #2D8F79
monochromatic
#321028 #601E4E #8F2D74 #BE3C9A #CF67B3

Accessibility & contrast

On white

7.51
#8F2D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8F2D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2D74
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2D74#FFFFFF#000000##FFFFFF
##8F2D741.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334A76
Deuteranopia (green-blind)
#525A72
Tritanopia (blue-blind)
#972F4C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2d74;
/* rgb */ color: rgb(143, 45, 116);
/* oklch */ color: oklch(46.8% 0.154 340.6);
Tailwind
colors: {
  custom: {
    50: '#b36e9c',
    500: '#8f2d74',
    950: '#000000',
  },
}
SCSS
$custom: #8f2d74;
$custom-light: #b36e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2d74",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 316.531,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46808,
    "c": 0.15413,
    "h": 340.6
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

primary
#8F2D74
secondary
#62B679
accent
#DC744C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8F2D74

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

Preview Lab → · Contrast checker → · Palette generator →

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