#8F1A5C#8F1A5C

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

Color values

HEX#8F1A5C
RGBrgb(143, 26, 92)
HSLhsl(326, 69%, 33%)
HSVhsv(326, 82%, 56%)
CMYKcmyk(0%, 81.8%, 35.7%, 43.9%)
CIE-LABlab(32.60, 52.24, -8.86)
CIE-LCHlch(32.60, 52.99, 350.37°)
OKLaboklab(44.04% 0.1604 -0.0229)
OKLCHoklch(44.04% 0.162 351.9)
XYZxyz(13.6297, 7.3528, 10.8246)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1A5C #1A8F4D
analogous
#871A8F #8F1A5C #8F1A21
triadic
#8F1A5C #5C8F1A #1A5C8F
tetradic
#8F1A5C #8F871A #1A8F4D #1A218F
square
#8F1A5C #8F871A #1A8F4D #1A218F
split-complementary
#8F1A5C #218F1A #1A8F87
monochromatic
#270719 #5B113B #8F1A5C #C3237D #DD469B

Accessibility & contrast

On white

8.50
#8F1A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8F1A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1A5C
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1A5C#FFFFFF#000000##FFFFFF
##8F1A5C1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313F5E
Deuteranopia (green-blind)
#525459
Tritanopia (blue-blind)
#9A0D39
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f1a5c;
/* rgb */ color: rgb(143, 26, 92);
/* oklch */ color: oklch(44.0% 0.162 351.9);
Tailwind
colors: {
  custom: {
    50: '#b4658a',
    500: '#8f1a5c',
    950: '#000000',
  },
}
SCSS
$custom: #8f1a5c;
$custom-light: #b4658a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1a5c",
  "rgb": {
    "r": 143,
    "g": 26,
    "b": 92
  },
  "hsl": {
    "h": 326.154,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4404,
    "c": 0.16202,
    "h": 351.9
  },
  "luminance": 0.07351
}

Semantic roles & 50–950 ramp

primary
#8F1A5C
secondary
#46BF7B
accent
#EC893C
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8F1A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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