#8F1F7B#8F1F7B

#8F1F7B is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.176 H 336.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8F1F7B
RGBrgb(143, 31, 123)
HSLhsl(311, 64%, 34%)
HSVhsv(311, 78%, 56%)
CMYKcmyk(0%, 78.3%, 14%, 43.9%)
CIE-LABlab(34.50, 54.87, -25.70)
CIE-LCHlch(34.50, 60.59, 334.90°)
OKLaboklab(45.87% 0.1614 -0.07)
OKLCHoklch(45.87% 0.176 336.5)
XYZxyz(15.3931, 8.2511, 19.5170)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1F7B #1F8F33
analogous
#6B1F8F #8F1F7B #8F1F43
triadic
#8F1F7B #7B8F1F #1F7B8F
tetradic
#8F1F7B #8F6B1F #1F8F33 #1F438F
square
#8F1F7B #8F6B1F #1F8F33 #1F438F
split-complementary
#8F1F7B #438F1F #1F8F6B
monochromatic
#2A0924 #5D1450 #8F1F7B #C12AA6 #D94FC0

Accessibility & contrast

On white

7.92
#8F1F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8F1F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1F7B
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1F7B#FFFFFF#000000##FFFFFF
##8F1F7B1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467D
Deuteranopia (green-blind)
#495778
Tritanopia (blue-blind)
#97274B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1f7b;
/* rgb */ color: rgb(143, 31, 123);
/* oklch */ color: oklch(45.9% 0.176 336.5);
Tailwind
colors: {
  custom: {
    50: '#b368a1',
    500: '#8f1f7b',
    950: '#000000',
  },
}
SCSS
$custom: #8f1f7b;
$custom-light: #b368a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1f7b",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 310.714,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45871,
    "c": 0.17595,
    "h": 336.5
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

primary
#8F1F7B
secondary
#4EBC62
accent
#E75E40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8F1F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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