#8F4E82#8F4E82

#8F4E82 is a mid, moderate pink. Relative luminance 0.129; OKLCH L 51.9% C 0.111 H 334.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8F4E82
RGBrgb(143, 78, 130)
HSLhsl(312, 29%, 43%)
HSVhsv(312, 45%, 56%)
CMYKcmyk(0%, 45.5%, 9.1%, 43.9%)
CIE-LABlab(42.61, 34.92, -17.45)
CIE-LCHlch(42.61, 39.03, 333.45°)
OKLaboklab(51.94% 0.1006 -0.0471)
OKLCHoklch(51.94% 0.111 334.9)
XYZxyz(18.0813, 12.9012, 22.6526)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4E82 #4E8F5B
analogous
#7B4E8F #8F4E82 #8F4E61
triadic
#8F4E82 #828F4E #4E828F
tetradic
#8F4E82 #8F7B4E #4E8F5B #4E618F
square
#8F4E82 #8F7B4E #4E8F5B #4E618F
split-complementary
#8F4E82 #618F4E #4E8F7B
monochromatic
#40233A #67385E #8F4E82 #AF6CA1 #C493BA

Accessibility & contrast

On white

5.87
#8F4E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8F4E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4E82
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4E82#FFFFFF#000000##FFFFFF
##8F4E821.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5F84
Deuteranopia (green-blind)
#5F6880
Tritanopia (blue-blind)
#955162
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f4e82;
/* rgb */ color: rgb(143, 78, 130);
/* oklch */ color: oklch(51.9% 0.111 334.9);
Tailwind
colors: {
  custom: {
    50: '#b181a6',
    500: '#8f4e82',
    950: '#000000',
  },
}
SCSS
$custom: #8f4e82;
$custom-light: #b181a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4e82",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 312,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51939,
    "c": 0.1111,
    "h": 334.9
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#8F4E82
secondary
#88B190
accent
#C67662
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110A0F
muted
#807C7F

Preview Lab

Preview with #8F4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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