#8F1977#8F1977

#8F1977 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.179 H 338.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8F1977
RGBrgb(143, 25, 119)
HSLhsl(312, 70%, 33%)
HSVhsv(312, 83%, 56%)
CMYKcmyk(0%, 82.5%, 16.8%, 43.9%)
CIE-LABlab(33.71, 55.98, -24.42)
CIE-LCHlch(33.71, 61.08, 336.43°)
OKLaboklab(45.24% 0.1661 -0.0664)
OKLCHoklch(45.24% 0.179 338.2)
XYZxyz(15.0055, 7.8683, 18.1777)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1977 #198F31
analogous
#6C198F #8F1977 #8F193C
triadic
#8F1977 #778F19 #19778F
tetradic
#8F1977 #8F6C19 #198F31 #193C8F
square
#8F1977 #8F6C19 #198F31 #193C8F
split-complementary
#8F1977 #3C8F19 #198F6C
monochromatic
#270720 #5B104C #8F1977 #C322A2 #DE44BF

Accessibility & contrast

On white

8.16
#8F1977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8F1977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1977
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1977#FFFFFF#000000##FFFFFF
##8F19771.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204479
Deuteranopia (green-blind)
#495674
Tritanopia (blue-blind)
#972048
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1977;
/* rgb */ color: rgb(143, 25, 119);
/* oklch */ color: oklch(45.2% 0.179 338.2);
Tailwind
colors: {
  custom: {
    50: '#b4669e',
    500: '#8f1977',
    950: '#000000',
  },
}
SCSS
$custom: #8f1977;
$custom-light: #b4669e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1977",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 312.203,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45235,
    "c": 0.1789,
    "h": 338.2
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#8F1977
secondary
#44BF5D
accent
#ED5F3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #8F1977

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

Preview Lab → · Contrast checker → · Palette generator →

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