#8F1A48#8F1A48

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

Color values

HEX#8F1A48
RGBrgb(143, 26, 72)
HSLhsl(336, 69%, 33%)
HSVhsv(336, 82%, 56%)
CMYKcmyk(0%, 81.8%, 49.7%, 43.9%)
CIE-LABlab(31.92, 50.20, 3.22)
CIE-LCHlch(31.92, 50.31, 3.66°)
OKLaboklab(43.32% 0.154 0.0087)
OKLCHoklch(43.32% 0.154 3.2)
XYZxyz(12.8679, 7.0481, 6.8125)
Luminance0.0705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1A48 #1A8F61
analogous
#8F1A82 #8F1A48 #8F261A
triadic
#8F1A48 #488F1A #1A488F
tetradic
#8F1A48 #828F1A #1A8F61 #261A8F
square
#8F1A48 #828F1A #1A8F61 #261A8F
split-complementary
#8F1A48 #1A8F26 #1A828F
monochromatic
#270714 #5B112E #8F1A48 #C32362 #DD4682

Accessibility & contrast

On white

8.72
#8F1A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1A48
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1A48#FFFFFF#000000##FFFFFF
##8F1A481.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383D49
Deuteranopia (green-blind)
#575345
Tritanopia (blue-blind)
#9C002F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f1a48;
/* rgb */ color: rgb(143, 26, 72);
/* oklch */ color: oklch(43.3% 0.154 3.2);
Tailwind
colors: {
  custom: {
    50: '#b5647a',
    500: '#8f1a48',
    950: '#000000',
  },
}
SCSS
$custom: #8f1a48;
$custom-light: #b5647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1a48",
  "rgb": {
    "r": 143,
    "g": 26,
    "b": 72
  },
  "hsl": {
    "h": 336.41,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4332,
    "c": 0.1542,
    "h": 3.2
  },
  "luminance": 0.07046
}

Semantic roles & 50–950 ramp

primary
#8F1A48
secondary
#46BF8F
accent
#ECA73C
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F1A48

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

Preview Lab → · Contrast checker → · Palette generator →

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