#8F4E7F#8F4E7F

#8F4E7F is a mid, moderate pink. Relative luminance 0.128; OKLCH L 51.8% C 0.108 H 337.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8F4E7F
RGBrgb(143, 78, 127)
HSLhsl(315, 29%, 43%)
HSVhsv(315, 45%, 56%)
CMYKcmyk(0%, 45.5%, 11.2%, 43.9%)
CIE-LABlab(42.49, 34.38, -15.81)
CIE-LCHlch(42.49, 37.84, 335.31°)
OKLaboklab(51.81% 0.0998 -0.0425)
OKLCHoklch(51.81% 0.108 337)
XYZxyz(17.8829, 12.8218, 21.6075)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4E7F #4E8F5E
analogous
#7E4E8F #8F4E7F #8F4E5E
triadic
#8F4E7F #7F8F4E #4E7F8F
tetradic
#8F4E7F #8F7E4E #4E8F5E #4E5E8F
square
#8F4E7F #8F7E4E #4E8F5E #4E5E8F
split-complementary
#8F4E7F #5E8F4E #4E8F7E
monochromatic
#402339 #67385C #8F4E7F #AF6C9E #C493B8

Accessibility & contrast

On white

5.89
#8F4E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8F4E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4E7F
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4E7F#FFFFFF#000000##FFFFFF
##8F4E7F1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5E81
Deuteranopia (green-blind)
#60687D
Tritanopia (blue-blind)
#955061
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f4e7f;
/* rgb */ color: rgb(143, 78, 127);
/* oklch */ color: oklch(51.8% 0.108 337.0);
Tailwind
colors: {
  custom: {
    50: '#b181a4',
    500: '#8f4e7f',
    950: '#000000',
  },
}
SCSS
$custom: #8f4e7f;
$custom-light: #b181a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4e7f",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 127
  },
  "hsl": {
    "h": 314.769,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51809,
    "c": 0.10849,
    "h": 337
  },
  "luminance": 0.12821
}

Semantic roles & 50–950 ramp

primary
#8F4E7F
secondary
#88B192
accent
#C67B62
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110A0F
muted
#807C7F

Preview Lab

Preview with #8F4E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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