#8F1B5D#8F1B5D

#8F1B5D is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.162 H 351.4°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#8F1B5D
RGBrgb(143, 27, 93)
HSLhsl(326, 68%, 33%)
HSVhsv(326, 81%, 56%)
CMYKcmyk(0%, 81.1%, 35%, 43.9%)
CIE-LABlab(32.73, 52.07, -9.30)
CIE-LCHlch(32.73, 52.90, 349.87°)
OKLaboklab(44.15% 0.1598 -0.0241)
OKLCHoklch(44.15% 0.162 351.4)
XYZxyz(13.6962, 7.4155, 11.0639)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B5D #1B8F4D
analogous
#871B8F #8F1B5D #8F1B23
triadic
#8F1B5D #5D8F1B #1B5D8F
tetradic
#8F1B5D #8F871B #1B8F4D #1B238F
square
#8F1B5D #8F871B #1B8F4D #1B238F
split-complementary
#8F1B5D #238F1B #1B8F87
monochromatic
#28081A #5C113C #8F1B5D #C2257E #DC489C

Accessibility & contrast

On white

8.46
#8F1B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8F1B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1B5D
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1B5D#FFFFFF#000000##FFFFFF
##8F1B5D1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31405F
Deuteranopia (green-blind)
#52545A
Tritanopia (blue-blind)
#9A0F3A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f1b5d;
/* rgb */ color: rgb(143, 27, 93);
/* oklch */ color: oklch(44.2% 0.162 351.4);
Tailwind
colors: {
  custom: {
    50: '#b4658b',
    500: '#8f1b5d',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b5d;
$custom-light: #b4658b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b5d",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 93
  },
  "hsl": {
    "h": 325.862,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44153,
    "c": 0.16157,
    "h": 351.4
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

primary
#8F1B5D
secondary
#48BE7B
accent
#EB883D
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8F1B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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