#8F1752#8F1752

#8F1752 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.160 H 357.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8F1752
RGBrgb(143, 23, 82)
HSLhsl(331, 72%, 33%)
HSVhsv(331, 84%, 56%)
CMYKcmyk(0%, 83.9%, 42.7%, 43.9%)
CIE-LABlab(31.95, 51.97, -3.31)
CIE-LCHlch(31.95, 52.08, 356.36°)
OKLaboklab(43.45% 0.16 -0.008)
OKLCHoklch(43.45% 0.16 357.1)
XYZxyz(13.1581, 7.0634, 8.6515)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1752 #178F54
analogous
#8F178E #8F1752 #8F1817
triadic
#8F1752 #528F17 #17528F
tetradic
#8F1752 #8E8F17 #178F54 #18178F
square
#8F1752 #8E8F17 #178F54 #18178F
split-complementary
#8F1752 #178F18 #178E8F
monochromatic
#260616 #5A0F34 #8F1752 #C41F70 #E0408F

Accessibility & contrast

On white

8.71
#8F1752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1752
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1752#FFFFFF#000000##FFFFFF
##8F17521.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333D53
Deuteranopia (green-blind)
#54534F
Tritanopia (blue-blind)
#9B0033
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f1752;
/* rgb */ color: rgb(143, 23, 82);
/* oklch */ color: oklch(43.5% 0.160 357.1);
Tailwind
colors: {
  custom: {
    50: '#b56482',
    500: '#8f1752',
    950: '#000000',
  },
}
SCSS
$custom: #8f1752;
$custom-light: #b56482;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1752",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 82
  },
  "hsl": {
    "h": 330.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4345,
    "c": 0.16022,
    "h": 357.1
  },
  "luminance": 0.07062
}

Semantic roles & 50–950 ramp

primary
#8F1752
secondary
#41C182
accent
#EF9539
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8F1752

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

Preview Lab → · Contrast checker → · Palette generator →

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