#8F1B73#8F1B73

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

Color values

HEX#8F1B73
RGBrgb(143, 27, 115)
HSLhsl(314, 68%, 33%)
HSVhsv(314, 81%, 56%)
CMYKcmyk(0%, 81.1%, 19.6%, 43.9%)
CIE-LABlab(33.70, 54.88, -21.91)
CIE-LCHlch(33.70, 59.09, 338.23°)
OKLaboklab(45.16% 0.1641 -0.0592)
OKLCHoklch(45.16% 0.174 340.2)
XYZxyz(14.8146, 7.8628, 16.9538)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B73 #1B8F37
analogous
#711B8F #8F1B73 #8F1B39
triadic
#8F1B73 #738F1B #1B738F
tetradic
#8F1B73 #8F711B #1B8F37 #1B398F
square
#8F1B73 #8F711B #1B8F37 #1B398F
split-complementary
#8F1B73 #398F1B #1B8F71
monochromatic
#280820 #5C114A #8F1B73 #C2259C #DC48B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F1B73#FFFFFF#000000##FFFFFF
##8F1B731.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)
#254475
Deuteranopia (green-blind)
#4B5670
Tritanopia (blue-blind)
#981F46
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1b73;
/* rgb */ color: rgb(143, 27, 115);
/* oklch */ color: oklch(45.2% 0.174 340.2);
Tailwind
colors: {
  custom: {
    50: '#b4669b',
    500: '#8f1b73',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b73;
$custom-light: #b4669b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b73",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 314.483,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45162,
    "c": 0.17443,
    "h": 340.2
  },
  "luminance": 0.07861
}

Semantic roles & 50–950 ramp

primary
#8F1B73
secondary
#48BE64
accent
#EB673D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #8F1B73

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

Preview Lab → · Contrast checker → · Palette generator →

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