#8F247A#8F247A

#8F247A is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.170 H 337.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8F247A
RGBrgb(143, 36, 122)
HSLhsl(312, 60%, 35%)
HSVhsv(312, 75%, 56%)
CMYKcmyk(0%, 74.8%, 14.7%, 43.9%)
CIE-LABlab(35.02, 53.09, -24.26)
CIE-LCHlch(35.02, 58.37, 335.44°)
OKLaboklab(46.23% 0.1565 -0.066)
OKLCHoklch(46.23% 0.17 337.1)
XYZxyz(15.4717, 8.5080, 19.2359)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F247A #248F39
analogous
#6F248F #8F247A #8F2444
triadic
#8F247A #7A8F24 #247A8F
tetradic
#8F247A #8F6F24 #248F39 #24448F
square
#8F247A #8F6F24 #248F39 #24448F
split-complementary
#8F247A #448F24 #248F6F
monochromatic
#2D0B27 #5E1850 #8F247A #C030A4 #D558BD

Accessibility & contrast

On white

7.77
#8F247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8F247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F247A
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F247A#FFFFFF#000000##FFFFFF
##8F247A1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27487C
Deuteranopia (green-blind)
#4C5877
Tritanopia (blue-blind)
#972A4C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f247a;
/* rgb */ color: rgb(143, 36, 122);
/* oklch */ color: oklch(46.2% 0.170 337.1);
Tailwind
colors: {
  custom: {
    50: '#b36aa0',
    500: '#8f247a',
    950: '#000000',
  },
}
SCSS
$custom: #8f247a;
$custom-light: #b36aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f247a",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 311.776,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46229,
    "c": 0.1698,
    "h": 337.1
  },
  "luminance": 0.08507
}

Semantic roles & 50–950 ramp

primary
#8F247A
secondary
#55B969
accent
#E36445
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8F247A

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

Preview Lab → · Contrast checker → · Palette generator →

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