#8F1251#8F1251

#8F1251 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.164 H 357.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8F1251
RGBrgb(143, 18, 81)
HSLhsl(330, 78%, 32%)
HSVhsv(330, 87%, 56%)
CMYKcmyk(0%, 87.4%, 43.4%, 43.9%)
CIE-LABlab(31.50, 53.05, -3.31)
CIE-LCHlch(31.50, 53.16, 356.43°)
OKLaboklab(43.11% 0.1635 -0.008)
OKLCHoklch(43.11% 0.164 357.2)
XYZxyz(13.0302, 6.8681, 8.4225)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1251 #128F50
analogous
#8F128F #8F1251 #8F1213
triadic
#8F1251 #518F12 #12518F
tetradic
#8F1251 #8F8F12 #128F50 #12138F
square
#8F1251 #8F8F12 #128F50 #12138F
split-complementary
#8F1251 #138F12 #128F8F
monochromatic
#220413 #590B32 #8F1251 #C51970 #E6368E

Accessibility & contrast

On white

8.85
#8F1251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1251
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1251#FFFFFF#000000##FFFFFF
##8F12511.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323B52
Deuteranopia (green-blind)
#53524E
Tritanopia (blue-blind)
#9B0031
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f1251;
/* rgb */ color: rgb(143, 18, 81);
/* oklch */ color: oklch(43.1% 0.164 357.2);
Tailwind
colors: {
  custom: {
    50: '#b56281',
    500: '#8f1251',
    950: '#000000',
  },
}
SCSS
$custom: #8f1251;
$custom-light: #b56281;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1251",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 81
  },
  "hsl": {
    "h": 329.76,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43114,
    "c": 0.16371,
    "h": 357.2
  },
  "luminance": 0.06866
}

Semantic roles & 50–950 ramp

primary
#8F1251
secondary
#3AC37E
accent
#F49334
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8F1251

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

Preview Lab → · Contrast checker → · Palette generator →

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