#8F1D4A#8F1D4A

#8F1D4A is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.152 H 2.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#8F1D4A
RGBrgb(143, 29, 74)
HSLhsl(336, 66%, 34%)
HSVhsv(336, 80%, 56%)
CMYKcmyk(0%, 79.7%, 48.3%, 43.9%)
CIE-LABlab(32.29, 49.49, 2.44)
CIE-LCHlch(32.29, 49.55, 2.82°)
OKLaboklab(43.61% 0.1518 0.0068)
OKLCHoklch(43.61% 0.152 2.6)
XYZxyz(13.0042, 7.2146, 7.1850)
Luminance0.0721 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D4A #1D8F62
analogous
#8F1D83 #8F1D4A #8F291D
triadic
#8F1D4A #4A8F1D #1D4A8F
tetradic
#8F1D4A #838F1D #1D8F62 #291D8F
square
#8F1D4A #838F1D #1D8F62 #291D8F
split-complementary
#8F1D4A #1D8F29 #1D838F
monochromatic
#290815 #5C1330 #8F1D4A #C22764 #DB4C84

Accessibility & contrast

On white

8.60
#8F1D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8F1D4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1D4A
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1D4A#FFFFFF#000000##FFFFFF
##8F1D4A1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393E4B
Deuteranopia (green-blind)
#575447
Tritanopia (blue-blind)
#9C0031
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8f1d4a;
/* rgb */ color: rgb(143, 29, 74);
/* oklch */ color: oklch(43.6% 0.152 2.6);
Tailwind
colors: {
  custom: {
    50: '#b5657c',
    500: '#8f1d4a',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d4a;
$custom-light: #b5657c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d4a",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 74
  },
  "hsl": {
    "h": 336.316,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43615,
    "c": 0.15196,
    "h": 2.6
  },
  "luminance": 0.07213
}

Semantic roles & 50–950 ramp

primary
#8F1D4A
secondary
#4BBD90
accent
#E9A63F
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F1D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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