#8F1252#8F1252

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

Color values

HEX#8F1252
RGBrgb(143, 18, 82)
HSLhsl(329, 78%, 32%)
HSVhsv(329, 87%, 56%)
CMYKcmyk(0%, 87.4%, 42.7%, 43.9%)
CIE-LABlab(31.54, 53.15, -3.92)
CIE-LCHlch(31.54, 53.30, 355.78°)
OKLaboklab(43.15% 0.1638 -0.0096)
OKLCHoklch(43.15% 0.164 356.6)
XYZxyz(13.0680, 6.8832, 8.6215)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1252 #128F4F
analogous
#8E128F #8F1252 #8F1214
triadic
#8F1252 #528F12 #12528F
tetradic
#8F1252 #8F8E12 #128F4F #12148F
square
#8F1252 #8F8E12 #128F4F #12148F
split-complementary
#8F1252 #148F12 #128F8E
monochromatic
#220414 #590B33 #8F1252 #C51971 #E63690

Accessibility & contrast

On white

8.84
#8F1252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8F1252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1252
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1252#FFFFFF#000000##FFFFFF
##8F12521.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313C53
Deuteranopia (green-blind)
#53524F
Tritanopia (blue-blind)
#9B0031
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f1252;
/* rgb */ color: rgb(143, 18, 82);
/* oklch */ color: oklch(43.2% 0.164 356.6);
Tailwind
colors: {
  custom: {
    50: '#b56282',
    500: '#8f1252',
    950: '#000000',
  },
}
SCSS
$custom: #8f1252;
$custom-light: #b56282;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1252",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 82
  },
  "hsl": {
    "h": 329.28,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43151,
    "c": 0.1641,
    "h": 356.6
  },
  "luminance": 0.06881
}

Semantic roles & 50–950 ramp

primary
#8F1252
secondary
#3AC37D
accent
#F49234
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8F1252

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

Preview Lab → · Contrast checker → · Palette generator →

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