#8F1A47#8F1A47

#8F1A47 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.154 H 3.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8F1A47
RGBrgb(143, 26, 71)
HSLhsl(337, 69%, 33%)
HSVhsv(337, 82%, 56%)
CMYKcmyk(0%, 81.8%, 50.3%, 43.9%)
CIE-LABlab(31.89, 50.12, 3.83)
CIE-LCHlch(31.89, 50.26, 4.37°)
OKLaboklab(43.29% 0.1536 0.0103)
OKLCHoklch(43.29% 0.154 3.8)
XYZxyz(12.8355, 7.0352, 6.6420)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1A47 #1A8F62
analogous
#8F1A81 #8F1A47 #8F271A
triadic
#8F1A47 #478F1A #1A478F
tetradic
#8F1A47 #818F1A #1A8F62 #271A8F
square
#8F1A47 #818F1A #1A8F62 #271A8F
split-complementary
#8F1A47 #1A8F27 #1A818F
monochromatic
#270714 #5B112D #8F1A47 #C32361 #DD4680

Accessibility & contrast

On white

8.73
#8F1A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8F1A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1A47
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1A47#FFFFFF#000000##FFFFFF
##8F1A471.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C48
Deuteranopia (green-blind)
#575344
Tritanopia (blue-blind)
#9C002E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f1a47;
/* rgb */ color: rgb(143, 26, 71);
/* oklch */ color: oklch(43.3% 0.154 3.8);
Tailwind
colors: {
  custom: {
    50: '#b5647a',
    500: '#8f1a47',
    950: '#000000',
  },
}
SCSS
$custom: #8f1a47;
$custom-light: #b5647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1a47",
  "rgb": {
    "r": 143,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 336.923,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43289,
    "c": 0.15392,
    "h": 3.8
  },
  "luminance": 0.07033
}

Semantic roles & 50–950 ramp

primary
#8F1A47
secondary
#46BF90
accent
#ECA83C
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F1A47

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

Preview Lab → · Contrast checker → · Palette generator →

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