#8F1B5F#8F1B5F

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

Color values

HEX#8F1B5F
RGBrgb(143, 27, 95)
HSLhsl(325, 68%, 33%)
HSVhsv(325, 81%, 56%)
CMYKcmyk(0%, 81.1%, 33.6%, 43.9%)
CIE-LABlab(32.81, 52.30, -10.48)
CIE-LCHlch(32.81, 53.34, 348.67°)
OKLaboklab(44.24% 0.1603 -0.0273)
OKLCHoklch(44.24% 0.163 350.3)
XYZxyz(13.7860, 7.4514, 11.5365)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B5F #1B8F4B
analogous
#851B8F #8F1B5F #8F1B25
triadic
#8F1B5F #5F8F1B #1B5F8F
tetradic
#8F1B5F #8F851B #1B8F4B #1B258F
square
#8F1B5F #8F851B #1B8F4B #1B258F
split-complementary
#8F1B5F #258F1B #1B8F85
monochromatic
#28081B #5C113D #8F1B5F #C22581 #DC489F

Accessibility & contrast

On white

8.43
#8F1B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8F1B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1B5F
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1B5F#FFFFFF#000000##FFFFFF
##8F1B5F1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304061
Deuteranopia (green-blind)
#52545C
Tritanopia (blue-blind)
#9A113B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f1b5f;
/* rgb */ color: rgb(143, 27, 95);
/* oklch */ color: oklch(44.2% 0.163 350.3);
Tailwind
colors: {
  custom: {
    50: '#b4658c',
    500: '#8f1b5f',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b5f;
$custom-light: #b4658c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b5f",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 95
  },
  "hsl": {
    "h": 324.828,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44236,
    "c": 0.16259,
    "h": 350.3
  },
  "luminance": 0.0745
}

Semantic roles & 50–950 ramp

primary
#8F1B5F
secondary
#48BE79
accent
#EB853D
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060C
muted
#817A7D

Preview Lab

Preview with #8F1B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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