#8F1542#8F1542

#8F1542 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.157 H 6.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#8F1542
RGBrgb(143, 21, 66)
HSLhsl(338, 74%, 32%)
HSVhsv(338, 85%, 56%)
CMYKcmyk(0%, 85.3%, 53.8%, 43.9%)
CIE-LABlab(31.28, 51.02, 6.28)
CIE-LCHlch(31.28, 51.40, 7.01°)
OKLaboklab(42.8% 0.156 0.0163)
OKLCHoklch(42.8% 0.157 6)
XYZxyz(12.5804, 6.7711, 5.7977)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1542 #158F62
analogous
#8F157F #8F1542 #8F2515
triadic
#8F1542 #428F15 #15428F
tetradic
#8F1542 #7F8F15 #158F62 #25158F
square
#8F1542 #7F8F15 #158F62 #25158F
split-complementary
#8F1542 #158F25 #157F8F
monochromatic
#240511 #5A0D29 #8F1542 #C41D5B #E23C79

Accessibility & contrast

On white

8.92
#8F1542 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8F1542 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1542
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1542#FFFFFF#000000##FFFFFF
##8F15421.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373A43
Deuteranopia (green-blind)
#57523F
Tritanopia (blue-blind)
#9C002A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f1542;
/* rgb */ color: rgb(143, 21, 66);
/* oklch */ color: oklch(42.8% 0.157 6.0);
Tailwind
colors: {
  custom: {
    50: '#b66276',
    500: '#8f1542',
    950: '#000000',
  },
}
SCSS
$custom: #8f1542;
$custom-light: #b66276;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1542",
  "rgb": {
    "r": 143,
    "g": 21,
    "b": 66
  },
  "hsl": {
    "h": 337.869,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42798,
    "c": 0.15682,
    "h": 6
  },
  "luminance": 0.06769
}

Semantic roles & 50–950 ramp

primary
#8F1542
secondary
#3EC291
accent
#F1AC37
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F1542

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

Preview Lab → · Contrast checker → · Palette generator →

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