#8F1A42#8F1A42

#8F1A42 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.153 H 6.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#8F1A42
RGBrgb(143, 26, 66)
HSLhsl(339, 69%, 33%)
HSVhsv(339, 82%, 56%)
CMYKcmyk(0%, 81.8%, 53.8%, 43.9%)
CIE-LABlab(31.75, 49.69, 6.93)
CIE-LCHlch(31.75, 50.17, 7.94°)
OKLaboklab(43.14% 0.1517 0.0179)
OKLCHoklch(43.14% 0.153 6.7)
XYZxyz(12.6816, 6.9736, 5.8315)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1A42 #1A8F67
analogous
#8F1A7C #8F1A42 #8F2C1A
triadic
#8F1A42 #428F1A #1A428F
tetradic
#8F1A42 #7C8F1A #1A8F67 #2C1A8F
square
#8F1A42 #7C8F1A #1A8F67 #2C1A8F
split-complementary
#8F1A42 #1A8F2C #1A7C8F
monochromatic
#270712 #5B112A #8F1A42 #C3235A #DD467A

Accessibility & contrast

On white

8.77
#8F1A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8F1A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1A42
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1A42#FFFFFF#000000##FFFFFF
##8F1A421.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393C43
Deuteranopia (green-blind)
#58533F
Tritanopia (blue-blind)
#9C002C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f1a42;
/* rgb */ color: rgb(143, 26, 66);
/* oklch */ color: oklch(43.1% 0.153 6.7);
Tailwind
colors: {
  custom: {
    50: '#b66476',
    500: '#8f1a42',
    950: '#000000',
  },
}
SCSS
$custom: #8f1a42;
$custom-light: #b66476;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1a42",
  "rgb": {
    "r": 143,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 339.487,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43141,
    "c": 0.15272,
    "h": 6.7
  },
  "luminance": 0.06972
}

Semantic roles & 50–950 ramp

primary
#8F1A42
secondary
#46BF95
accent
#ECB03C
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F1A42

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

Preview Lab → · Contrast checker → · Palette generator →

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