#8F1B70#8F1B70

#8F1B70 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.172 H 341.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8F1B70
RGBrgb(143, 27, 112)
HSLhsl(316, 68%, 33%)
HSVhsv(316, 81%, 56%)
CMYKcmyk(0%, 81.1%, 21.7%, 43.9%)
CIE-LABlab(33.55, 54.47, -20.24)
CIE-LCHlch(33.55, 58.10, 339.62°)
OKLaboklab(45.01% 0.1637 -0.0545)
OKLCHoklch(45.01% 0.172 341.6)
XYZxyz(14.6448, 7.7949, 16.0594)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B70 #1B8F3A
analogous
#741B8F #8F1B70 #8F1B36
triadic
#8F1B70 #708F1B #1B708F
tetradic
#8F1B70 #8F741B #1B8F3A #1B368F
square
#8F1B70 #8F741B #1B8F3A #1B368F
split-complementary
#8F1B70 #368F1B #1B8F74
monochromatic
#28081F #5C1148 #8F1B70 #C22598 #DC48B5

Accessibility & contrast

On white

8.21
#8F1B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8F1B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1B70
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1B70#FFFFFF#000000##FFFFFF
##8F1B701.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274372
Deuteranopia (green-blind)
#4D566D
Tritanopia (blue-blind)
#981D44
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1b70;
/* rgb */ color: rgb(143, 27, 112);
/* oklch */ color: oklch(45.0% 0.172 341.6);
Tailwind
colors: {
  custom: {
    50: '#b46699',
    500: '#8f1b70',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b70;
$custom-light: #b46699;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b70",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 316.034,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45012,
    "c": 0.17249,
    "h": 341.6
  },
  "luminance": 0.07793
}

Semantic roles & 50–950 ramp

primary
#8F1B70
secondary
#48BE67
accent
#EB6B3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #8F1B70

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

Preview Lab → · Contrast checker → · Palette generator →

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