#8F1547#8F1547

#8F1547 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.158 H 3.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#8F1547
RGBrgb(143, 21, 71)
HSLhsl(335, 74%, 32%)
HSVhsv(335, 85%, 56%)
CMYKcmyk(0%, 85.3%, 50.3%, 43.9%)
CIE-LABlab(31.42, 51.44, 3.17)
CIE-LCHlch(31.42, 51.54, 3.52°)
OKLaboklab(42.95% 0.1579 0.0086)
OKLCHoklch(42.95% 0.158 3.1)
XYZxyz(12.7343, 6.8327, 6.6083)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1547 #158F5D
analogous
#8F1584 #8F1547 #8F2015
triadic
#8F1547 #478F15 #15478F
tetradic
#8F1547 #848F15 #158F5D #20158F
square
#8F1547 #848F15 #158F5D #20158F
split-complementary
#8F1547 #158F20 #15848F
monochromatic
#240512 #5A0D2D #8F1547 #C41D61 #E23C80

Accessibility & contrast

On white

8.87
#8F1547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8F1547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1547
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1547#FFFFFF#000000##FFFFFF
##8F15471.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B48
Deuteranopia (green-blind)
#565244
Tritanopia (blue-blind)
#9C002C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f1547;
/* rgb */ color: rgb(143, 21, 71);
/* oklch */ color: oklch(42.9% 0.158 3.1);
Tailwind
colors: {
  custom: {
    50: '#b6637a',
    500: '#8f1547',
    950: '#000000',
  },
}
SCSS
$custom: #8f1547;
$custom-light: #b6637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1547",
  "rgb": {
    "r": 143,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 335.41,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42949,
    "c": 0.15809,
    "h": 3.1
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

primary
#8F1547
secondary
#3EC28C
accent
#F1A537
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F1547

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

Preview Lab → · Contrast checker → · Palette generator →

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