#8F1B74#8F1B74

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

Color values

HEX#8F1B74
RGBrgb(143, 27, 116)
HSLhsl(314, 68%, 33%)
HSVhsv(314, 81%, 56%)
CMYKcmyk(0%, 81.1%, 18.9%, 43.9%)
CIE-LABlab(33.74, 55.02, -22.47)
CIE-LCHlch(33.74, 59.43, 337.78°)
OKLaboklab(45.21% 0.1642 -0.0608)
OKLCHoklch(45.21% 0.175 339.7)
XYZxyz(14.8724, 7.8860, 17.2585)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B74 #1B8F36
analogous
#701B8F #8F1B74 #8F1B3A
triadic
#8F1B74 #748F1B #1B748F
tetradic
#8F1B74 #8F701B #1B8F36 #1B3A8F
square
#8F1B74 #8F701B #1B8F36 #1B3A8F
split-complementary
#8F1B74 #3A8F1B #1B8F70
monochromatic
#280820 #5C114A #8F1B74 #C2259E #DC48BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F1B74#FFFFFF#000000##FFFFFF
##8F1B741.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)
#244476
Deuteranopia (green-blind)
#4B5671
Tritanopia (blue-blind)
#982046
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1b74;
/* rgb */ color: rgb(143, 27, 116);
/* oklch */ color: oklch(45.2% 0.175 339.7);
Tailwind
colors: {
  custom: {
    50: '#b4669c',
    500: '#8f1b74',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b74;
$custom-light: #b4669c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b74",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 313.966,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45213,
    "c": 0.17509,
    "h": 339.7
  },
  "luminance": 0.07884
}

Semantic roles & 50–950 ramp

primary
#8F1B74
secondary
#48BE63
accent
#EB653D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #8F1B74

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

Preview Lab → · Contrast checker → · Palette generator →

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