#8F247B#8F247B

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

Color values

HEX#8F247B
RGBrgb(143, 36, 123)
HSLhsl(311, 60%, 35%)
HSVhsv(311, 75%, 56%)
CMYKcmyk(0%, 74.8%, 14%, 43.9%)
CIE-LABlab(35.07, 53.25, -24.81)
CIE-LCHlch(35.07, 58.74, 335.02°)
OKLaboklab(46.28% 0.1566 -0.0675)
OKLCHoklch(46.28% 0.171 336.7)
XYZxyz(15.5340, 8.5329, 19.5639)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F247B #248F38
analogous
#6E248F #8F247B #8F2445
triadic
#8F247B #7B8F24 #247B8F
tetradic
#8F247B #8F6E24 #248F38 #24458F
square
#8F247B #8F6E24 #248F38 #24458F
split-complementary
#8F247B #458F24 #248F6E
monochromatic
#2D0B27 #5E1851 #8F247B #C030A5 #D558BE

Accessibility & contrast

On white

7.76
#8F247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F247B
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F247B#FFFFFF#000000##FFFFFF
##8F247B1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26487D
Deuteranopia (green-blind)
#4B5878
Tritanopia (blue-blind)
#972B4D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f247b;
/* rgb */ color: rgb(143, 36, 123);
/* oklch */ color: oklch(46.3% 0.171 336.7);
Tailwind
colors: {
  custom: {
    50: '#b36aa1',
    500: '#8f247b',
    950: '#000000',
  },
}
SCSS
$custom: #8f247b;
$custom-light: #b36aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f247b",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 311.215,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46281,
    "c": 0.17052,
    "h": 336.7
  },
  "luminance": 0.08531
}

Semantic roles & 50–950 ramp

primary
#8F247B
secondary
#55B968
accent
#E36245
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8F247B

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

Preview Lab → · Contrast checker → · Palette generator →

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