#8F1978#8F1978

#8F1978 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.3% C 0.180 H 337.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8F1978
RGBrgb(143, 25, 120)
HSLhsl(312, 70%, 33%)
HSVhsv(312, 83%, 56%)
CMYKcmyk(0%, 82.5%, 16.1%, 43.9%)
CIE-LABlab(33.76, 56.12, -24.97)
CIE-LCHlch(33.76, 61.43, 336.01°)
OKLaboklab(45.29% 0.1662 -0.0679)
OKLCHoklch(45.29% 0.18 337.8)
XYZxyz(15.0658, 7.8925, 18.4956)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1978 #198F30
analogous
#6B198F #8F1978 #8F193D
triadic
#8F1978 #788F19 #19788F
tetradic
#8F1978 #8F6B19 #198F30 #193D8F
square
#8F1978 #8F6B19 #198F30 #193D8F
split-complementary
#8F1978 #3D8F19 #198F6B
monochromatic
#270721 #5B104C #8F1978 #C322A4 #DE44C0

Accessibility & contrast

On white

8.15
#8F1978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8F1978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1978
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1978#FFFFFF#000000##FFFFFF
##8F19781.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F447A
Deuteranopia (green-blind)
#495675
Tritanopia (blue-blind)
#972148
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1978;
/* rgb */ color: rgb(143, 25, 120);
/* oklch */ color: oklch(45.3% 0.180 337.8);
Tailwind
colors: {
  custom: {
    50: '#b4669f',
    500: '#8f1978',
    950: '#000000',
  },
}
SCSS
$custom: #8f1978;
$custom-light: #b4669f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1978",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 311.695,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45288,
    "c": 0.17957,
    "h": 337.8
  },
  "luminance": 0.07891
}

Semantic roles & 50–950 ramp

primary
#8F1978
secondary
#44BF5C
accent
#ED5E3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #8F1978

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

Preview Lab → · Contrast checker → · Palette generator →

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