#8F247C#8F247C

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

Color values

HEX#8F247C
RGBrgb(143, 36, 124)
HSLhsl(311, 60%, 35%)
HSVhsv(311, 75%, 56%)
CMYKcmyk(0%, 74.8%, 13.3%, 43.9%)
CIE-LABlab(35.12, 53.40, -25.35)
CIE-LCHlch(35.12, 59.11, 334.60°)
OKLaboklab(46.33% 0.1567 -0.0691)
OKLCHoklch(46.33% 0.171 336.2)
XYZxyz(15.5969, 8.5580, 19.8953)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F247C #248F37
analogous
#6C248F #8F247C #8F2447
triadic
#8F247C #7C8F24 #247C8F
tetradic
#8F247C #8F6C24 #248F37 #24478F
square
#8F247C #8F6C24 #248F37 #24478F
split-complementary
#8F247C #478F24 #248F6C
monochromatic
#2D0B27 #5E1852 #8F247C #C030A6 #D558BF

Accessibility & contrast

On white

7.75
#8F247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8F247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F247C
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F247C#FFFFFF#000000##FFFFFF
##8F247C1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26487E
Deuteranopia (green-blind)
#4B5879
Tritanopia (blue-blind)
#972B4D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f247c;
/* rgb */ color: rgb(143, 36, 124);
/* oklch */ color: oklch(46.3% 0.171 336.2);
Tailwind
colors: {
  custom: {
    50: '#b36aa2',
    500: '#8f247c',
    950: '#000000',
  },
}
SCSS
$custom: #8f247c;
$custom-light: #b36aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f247c",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 310.654,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46333,
    "c": 0.17124,
    "h": 336.2
  },
  "luminance": 0.08557
}

Semantic roles & 50–950 ramp

primary
#8F247C
secondary
#55B967
accent
#E36145
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F247C

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

Preview Lab → · Contrast checker → · Palette generator →

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