#8F2E73#8F2E73

#8F2E73 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.152 H 341.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8F2E73
RGBrgb(143, 46, 115)
HSLhsl(317, 51%, 37%)
HSVhsv(317, 68%, 56%)
CMYKcmyk(0%, 67.8%, 19.6%, 43.9%)
CIE-LABlab(36.05, 48.24, -18.27)
CIE-LCHlch(36.05, 51.58, 339.25°)
OKLaboklab(46.87% 0.1439 -0.0491)
OKLCHoklch(46.87% 0.152 341.2)
XYZxyz(15.3996, 9.0329, 17.1488)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E73 #2E8F4A
analogous
#7B2E8F #8F2E73 #8F2E42
triadic
#8F2E73 #738F2E #2E738F
tetradic
#8F2E73 #8F7B2E #2E8F4A #2E428F
square
#8F2E73 #8F7B2E #2E8F4A #2E428F
split-complementary
#8F2E73 #428F2E #2E8F7B
monochromatic
#321029 #611F4E #8F2E73 #BD3D98 #CF69B1

Accessibility & contrast

On white

7.48
#8F2E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8F2E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E73
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E73#FFFFFF#000000##FFFFFF
##8F2E731.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354B75
Deuteranopia (green-blind)
#525B71
Tritanopia (blue-blind)
#98304C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2e73;
/* rgb */ color: rgb(143, 46, 115);
/* oklch */ color: oklch(46.9% 0.152 341.2);
Tailwind
colors: {
  custom: {
    50: '#b36e9b',
    500: '#8f2e73',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e73;
$custom-light: #b36e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e73",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 317.32,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46869,
    "c": 0.15205,
    "h": 341.2
  },
  "luminance": 0.09031
}

Semantic roles & 50–950 ramp

primary
#8F2E73
secondary
#63B67B
accent
#DB764D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8F2E73

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

Preview Lab → · Contrast checker → · Palette generator →

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