#8F427B#8F427B

#8F427B is a mid, vivid pink. Relative luminance 0.112; OKLCH L 49.8% C 0.127 H 338.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8F427B
RGBrgb(143, 66, 123)
HSLhsl(316, 37%, 41%)
HSVhsv(316, 54%, 56%)
CMYKcmyk(0%, 53.8%, 14%, 43.9%)
CIE-LABlab(39.86, 40.11, -17.38)
CIE-LCHlch(39.86, 43.71, 336.57°)
OKLaboklab(49.79% 0.1176 -0.0468)
OKLCHoklch(49.79% 0.127 338.3)
XYZxyz(16.8512, 11.1674, 20.0030)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F427B #428F56
analogous
#7C428F #8F427B #8F4254
triadic
#8F427B #7B8F42 #427B8F
tetradic
#8F427B #8F7C42 #428F56 #42548F
square
#8F427B #8F7C42 #428F56 #42548F
split-complementary
#8F427B #548F42 #428F7C
monochromatic
#3B1B33 #652F57 #8F427B #B35B9C #C785B6

Accessibility & contrast

On white

6.50
#8F427B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8F427B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F427B
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F427B#FFFFFF#000000##FFFFFF
##8F427B1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44567D
Deuteranopia (green-blind)
#5A6279
Tritanopia (blue-blind)
#964459
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f427b;
/* rgb */ color: rgb(143, 66, 123);
/* oklch */ color: oklch(49.8% 0.127 338.3);
Tailwind
colors: {
  custom: {
    50: '#b27aa1',
    500: '#8f427b',
    950: '#000000',
  },
}
SCSS
$custom: #8f427b;
$custom-light: #b27aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f427b",
  "rgb": {
    "r": 143,
    "g": 66,
    "b": 123
  },
  "hsl": {
    "h": 315.584,
    "s": 36.842,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49791,
    "c": 0.12655,
    "h": 338.3
  },
  "luminance": 0.11166
}

Semantic roles & 50–950 ramp

primary
#8F427B
secondary
#7BB189
accent
#CD795B
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#11090F
muted
#807B7E

Preview Lab

Preview with #8F427B

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

Preview Lab → · Contrast checker → · Palette generator →

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