#8F1D52#8F1D52

#8F1D52 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.155 H 357.9°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8F1D52
RGBrgb(143, 29, 82)
HSLhsl(332, 66%, 34%)
HSVhsv(332, 80%, 56%)
CMYKcmyk(0%, 79.7%, 42.7%, 43.9%)
CIE-LABlab(32.55, 50.28, -2.43)
CIE-LCHlch(32.55, 50.34, 357.23°)
OKLaboklab(43.89% 0.1546 -0.0058)
OKLCHoklch(43.89% 0.155 357.9)
XYZxyz(13.2910, 7.3293, 8.6958)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D52 #1D8F5A
analogous
#8F1D8B #8F1D52 #8F211D
triadic
#8F1D52 #528F1D #1D528F
tetradic
#8F1D52 #8B8F1D #1D8F5A #211D8F
square
#8F1D52 #8B8F1D #1D8F5A #211D8F
split-complementary
#8F1D52 #1D8F21 #1D8B8F
monochromatic
#290818 #5C1335 #8F1D52 #C2276F #DB4C8E

Accessibility & contrast

On white

8.52
#8F1D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8F1D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1D52
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1D52#FFFFFF#000000##FFFFFF
##8F1D521.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363F53
Deuteranopia (green-blind)
#56544F
Tritanopia (blue-blind)
#9B0835
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f1d52;
/* rgb */ color: rgb(143, 29, 82);
/* oklch */ color: oklch(43.9% 0.155 357.9);
Tailwind
colors: {
  custom: {
    50: '#b56682',
    500: '#8f1d52',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d52;
$custom-light: #b56682;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d52",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 332.105,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43885,
    "c": 0.1547,
    "h": 357.9
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#8F1D52
secondary
#4BBD88
accent
#E99A3F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8F1D52

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

Preview Lab → · Contrast checker → · Palette generator →

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