#8F4E7B#8F4E7B

#8F4E7B is a mid, moderate pink. Relative luminance 0.127; OKLCH L 51.6% C 0.105 H 339.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8F4E7B
RGBrgb(143, 78, 123)
HSLhsl(318, 29%, 43%)
HSVhsv(318, 45%, 56%)
CMYKcmyk(0%, 45.5%, 14%, 43.9%)
CIE-LABlab(42.34, 33.68, -13.60)
CIE-LCHlch(42.34, 36.32, 338.01°)
OKLaboklab(51.64% 0.0987 -0.0363)
OKLCHoklch(51.64% 0.105 339.8)
XYZxyz(17.6274, 12.7196, 20.2617)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4E7B #4E8F62
analogous
#824E8F #8F4E7B #8F4E5A
triadic
#8F4E7B #7B8F4E #4E7B8F
tetradic
#8F4E7B #8F824E #4E8F62 #4E5A8F
square
#8F4E7B #8F824E #4E8F62 #4E5A8F
split-complementary
#8F4E7B #5A8F4E #4E8F82
monochromatic
#402337 #673859 #8F4E7B #AF6C9A #C493B5

Accessibility & contrast

On white

5.93
#8F4E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8F4E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4E7B
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4E7B#FFFFFF#000000##FFFFFF
##8F4E7B1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515E7D
Deuteranopia (green-blind)
#626879
Tritanopia (blue-blind)
#964F5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f4e7b;
/* rgb */ color: rgb(143, 78, 123);
/* oklch */ color: oklch(51.6% 0.105 339.8);
Tailwind
colors: {
  custom: {
    50: '#b181a1',
    500: '#8f4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #8f4e7b;
$custom-light: #b181a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4e7b",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 318.462,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51641,
    "c": 0.10517,
    "h": 339.8
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#8F4E7B
secondary
#88B195
accent
#C68162
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#110A0F
muted
#807C7E

Preview Lab

Preview with #8F4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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