#8F247D#8F247D

#8F247D is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.172 H 335.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8F247D
RGBrgb(143, 36, 125)
HSLhsl(310, 60%, 35%)
HSVhsv(310, 75%, 56%)
CMYKcmyk(0%, 74.8%, 12.6%, 43.9%)
CIE-LABlab(35.17, 53.55, -25.90)
CIE-LCHlch(35.17, 59.49, 334.19°)
OKLaboklab(46.39% 0.1568 -0.0707)
OKLCHoklch(46.39% 0.172 335.7)
XYZxyz(15.6605, 8.5835, 20.2301)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F247D #248F36
analogous
#6B248F #8F247D #8F2448
triadic
#8F247D #7D8F24 #247D8F
tetradic
#8F247D #8F6B24 #248F36 #24488F
square
#8F247D #8F6B24 #248F36 #24488F
split-complementary
#8F247D #488F24 #248F6B
monochromatic
#2D0B28 #5E1852 #8F247D #C030A8 #D558C0

Accessibility & contrast

On white

7.73
#8F247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8F247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F247D
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F247D#FFFFFF#000000##FFFFFF
##8F247D1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487F
Deuteranopia (green-blind)
#4A587A
Tritanopia (blue-blind)
#962C4E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f247d;
/* rgb */ color: rgb(143, 36, 125);
/* oklch */ color: oklch(46.4% 0.172 335.7);
Tailwind
colors: {
  custom: {
    50: '#b36aa3',
    500: '#8f247d',
    950: '#000000',
  },
}
SCSS
$custom: #8f247d;
$custom-light: #b36aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f247d",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 310.093,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46386,
    "c": 0.17197,
    "h": 335.7
  },
  "luminance": 0.08582
}

Semantic roles & 50–950 ramp

primary
#8F247D
secondary
#55B966
accent
#E35F45
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F247D

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

Preview Lab → · Contrast checker → · Palette generator →

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