#8F4071#8F4071

#8F4071 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.1% C 0.123 H 344.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8F4071
RGBrgb(143, 64, 113)
HSLhsl(323, 38%, 41%)
HSVhsv(323, 55%, 56%)
CMYKcmyk(0%, 55.2%, 21%, 43.9%)
CIE-LABlab(39.07, 39.52, -12.39)
CIE-LCHlch(39.07, 41.42, 342.59°)
OKLaboklab(49.07% 0.118 -0.0329)
OKLCHoklch(49.07% 0.123 344.4)
XYZxyz(16.1421, 10.7000, 16.8347)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4071 #408F5E
analogous
#85408F #8F4071 #8F4049
triadic
#8F4071 #718F40 #40718F
tetradic
#8F4071 #8F8540 #408F5E #40498F
square
#8F4071 #8F8540 #408F5E #40498F
split-complementary
#8F4071 #498F40 #408F85
monochromatic
#3A1A2E #652D50 #8F4071 #B45891 #C782AD

Accessibility & contrast

On white

6.69
#8F4071 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8F4071 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4071
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4071#FFFFFF#000000##FFFFFF
##8F40711.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465473
Deuteranopia (green-blind)
#5C616F
Tritanopia (blue-blind)
#974053
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f4071;
/* rgb */ color: rgb(143, 64, 113);
/* oklch */ color: oklch(49.1% 0.123 344.4);
Tailwind
colors: {
  custom: {
    50: '#b27899',
    500: '#8f4071',
    950: '#000000',
  },
}
SCSS
$custom: #8f4071;
$custom-light: #b27899;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4071",
  "rgb": {
    "r": 143,
    "g": 64,
    "b": 113
  },
  "hsl": {
    "h": 322.785,
    "s": 38.164,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.12252,
    "h": 344.4
  },
  "luminance": 0.10699
}

Semantic roles & 50–950 ramp

primary
#8F4071
secondary
#79B28F
accent
#CE865A
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8F4071

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

Preview Lab → · Contrast checker → · Palette generator →

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