#8F4E7E#8F4E7E

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

Color values

HEX#8F4E7E
RGBrgb(143, 78, 126)
HSLhsl(316, 29%, 43%)
HSVhsv(316, 45%, 56%)
CMYKcmyk(0%, 45.5%, 11.9%, 43.9%)
CIE-LABlab(42.45, 34.20, -15.26)
CIE-LCHlch(42.45, 37.45, 335.96°)
OKLaboklab(51.77% 0.0996 -0.0409)
OKLCHoklch(51.77% 0.108 337.6)
XYZxyz(17.8180, 12.7959, 21.2660)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4E7E #4E8F5F
analogous
#7F4E8F #8F4E7E #8F4E5D
triadic
#8F4E7E #7E8F4E #4E7E8F
tetradic
#8F4E7E #8F7F4E #4E8F5F #4E5D8F
square
#8F4E7E #8F7F4E #4E8F5F #4E5D8F
split-complementary
#8F4E7E #5D8F4E #4E8F7F
monochromatic
#402338 #67385B #8F4E7E #AF6C9D #C493B7

Accessibility & contrast

On white

5.90
#8F4E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F4E7E
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4E7E#FFFFFF#000000##FFFFFF
##8F4E7E1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505E80
Deuteranopia (green-blind)
#61687C
Tritanopia (blue-blind)
#955060
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f4e7e;
/* rgb */ color: rgb(143, 78, 126);
/* oklch */ color: oklch(51.8% 0.108 337.6);
Tailwind
colors: {
  custom: {
    50: '#b181a3',
    500: '#8f4e7e',
    950: '#000000',
  },
}
SCSS
$custom: #8f4e7e;
$custom-light: #b181a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4e7e",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 126
  },
  "hsl": {
    "h": 315.692,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51766,
    "c": 0.10764,
    "h": 337.6
  },
  "luminance": 0.12795
}

Semantic roles & 50–950 ramp

primary
#8F4E7E
secondary
#88B193
accent
#C67C62
background
#FBF8FA
surface
#F6EFF3
border
#D0CACD
text
#110A0F
muted
#807C7F

Preview Lab

Preview with #8F4E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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