#8F2161#8F2161

#8F2161 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.157 H 349.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8F2161
RGBrgb(143, 33, 97)
HSLhsl(325, 63%, 35%)
HSVhsv(325, 77%, 56%)
CMYKcmyk(0%, 76.9%, 32.2%, 43.9%)
CIE-LABlab(33.55, 50.69, -10.66)
CIE-LCHlch(33.55, 51.79, 348.13°)
OKLaboklab(44.8% 0.1549 -0.0278)
OKLCHoklch(44.8% 0.157 349.8)
XYZxyz(14.0300, 7.7921, 12.0721)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2161 #218F4F
analogous
#86218F #8F2161 #8F212A
triadic
#8F2161 #618F21 #21618F
tetradic
#8F2161 #8F8621 #218F4F #212A8F
square
#8F2161 #8F8621 #218F4F #212A8F
split-complementary
#8F2161 #2A8F21 #218F86
monochromatic
#2C0A1E #5D163F #8F2161 #C12C83 #D753A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F2161#FFFFFF#000000##FFFFFF
##8F21611.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)
#334263
Deuteranopia (green-blind)
#53565F
Tritanopia (blue-blind)
#9A1A3E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f2161;
/* rgb */ color: rgb(143, 33, 97);
/* oklch */ color: oklch(44.8% 0.157 349.8);
Tailwind
colors: {
  custom: {
    50: '#b4688e',
    500: '#8f2161',
    950: '#000000',
  },
}
SCSS
$custom: #8f2161;
$custom-light: #b4688e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2161",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 325.091,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44796,
    "c": 0.15741,
    "h": 349.8
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#8F2161
secondary
#51BB7D
accent
#E68742
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8F2161

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

Preview Lab → · Contrast checker → · Palette generator →

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