#8F1D5F#8F1D5F

#8F1D5F is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.4% C 0.161 H 350.5°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#8F1D5F
RGBrgb(143, 29, 95)
HSLhsl(325, 66%, 34%)
HSVhsv(325, 80%, 56%)
CMYKcmyk(0%, 79.7%, 33.6%, 43.9%)
CIE-LABlab(33.02, 51.72, -10.17)
CIE-LCHlch(33.02, 52.71, 348.88°)
OKLaboklab(44.39% 0.1584 -0.0265)
OKLCHoklch(44.39% 0.161 350.5)
XYZxyz(13.8334, 7.5463, 11.5523)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D5F #1D8F4D
analogous
#861D8F #8F1D5F #8F1D26
triadic
#8F1D5F #5F8F1D #1D5F8F
tetradic
#8F1D5F #8F861D #1D8F4D #1D268F
square
#8F1D5F #8F861D #1D8F4D #1D268F
split-complementary
#8F1D5F #268F1D #1D8F86
monochromatic
#29081B #5C133D #8F1D5F #C22781 #DB4C9E

Accessibility & contrast

On white

8.37
#8F1D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8F1D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1D5F
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1D5F#FFFFFF#000000##FFFFFF
##8F1D5F1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324161
Deuteranopia (green-blind)
#52555C
Tritanopia (blue-blind)
#9A143C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f1d5f;
/* rgb */ color: rgb(143, 29, 95);
/* oklch */ color: oklch(44.4% 0.161 350.5);
Tailwind
colors: {
  custom: {
    50: '#b4668c',
    500: '#8f1d5f',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d5f;
$custom-light: #b4668c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d5f",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 95
  },
  "hsl": {
    "h": 325.263,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44386,
    "c": 0.16061,
    "h": 350.5
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

primary
#8F1D5F
secondary
#4BBD7B
accent
#E9863F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060C
muted
#817A7D

Preview Lab

Preview with #8F1D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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