#8F1B76#8F1B76

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

Color values

HEX#8F1B76
RGBrgb(143, 27, 118)
HSLhsl(313, 68%, 33%)
HSVhsv(313, 81%, 56%)
CMYKcmyk(0%, 81.1%, 17.5%, 43.9%)
CIE-LABlab(33.84, 55.30, -23.58)
CIE-LCHlch(33.84, 60.12, 336.91°)
OKLaboklab(45.32% 0.1644 -0.064)
OKLCHoklch(45.32% 0.176 338.7)
XYZxyz(14.9900, 7.9330, 17.8778)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B76 #1B8F34
analogous
#6E1B8F #8F1B76 #8F1B3C
triadic
#8F1B76 #768F1B #1B768F
tetradic
#8F1B76 #8F6E1B #1B8F34 #1B3C8F
square
#8F1B76 #8F6E1B #1B8F34 #1B3C8F
split-complementary
#8F1B76 #3C8F1B #1B8F6E
monochromatic
#280821 #5C114C #8F1B76 #C225A0 #DC48BC

Accessibility & contrast

On white

8.12
#8F1B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8F1B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1B76
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1B76#FFFFFF#000000##FFFFFF
##8F1B761.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224478
Deuteranopia (green-blind)
#4A5673
Tritanopia (blue-blind)
#972148
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1b76;
/* rgb */ color: rgb(143, 27, 118);
/* oklch */ color: oklch(45.3% 0.176 338.7);
Tailwind
colors: {
  custom: {
    50: '#b4669d',
    500: '#8f1b76',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b76;
$custom-light: #b4669d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b76",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 312.931,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45317,
    "c": 0.17643,
    "h": 338.7
  },
  "luminance": 0.07932
}

Semantic roles & 50–950 ramp

primary
#8F1B76
secondary
#48BE61
accent
#EB623D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #8F1B76

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

Preview Lab → · Contrast checker → · Palette generator →

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