#8F1277#8F1277

#8F1277 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.8% C 0.184 H 338.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8F1277
RGBrgb(143, 18, 119)
HSLhsl(312, 78%, 32%)
HSVhsv(312, 87%, 56%)
CMYKcmyk(0%, 87.4%, 16.8%, 43.9%)
CIE-LABlab(33.15, 57.60, -25.30)
CIE-LCHlch(33.15, 62.91, 336.29°)
OKLaboklab(44.84% 0.171 -0.0688)
OKLCHoklch(44.84% 0.184 338.1)
XYZxyz(14.8742, 7.6057, 18.1339)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1277 #128F2A
analogous
#69128F #8F1277 #8F1239
triadic
#8F1277 #778F12 #12778F
tetradic
#8F1277 #8F6912 #128F2A #12398F
square
#8F1277 #8F6912 #128F2A #12398F
split-complementary
#8F1277 #398F12 #128F69
monochromatic
#22041D #590B4A #8F1277 #C519A4 #E636C4

Accessibility & contrast

On white

8.33
#8F1277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8F1277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1277
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1277#FFFFFF#000000##FFFFFF
##8F12771.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4279
Deuteranopia (green-blind)
#485574
Tritanopia (blue-blind)
#971C46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f1277;
/* rgb */ color: rgb(143, 18, 119);
/* oklch */ color: oklch(44.8% 0.184 338.1);
Tailwind
colors: {
  custom: {
    50: '#b4649e',
    500: '#8f1277',
    950: '#000000',
  },
}
SCSS
$custom: #8f1277;
$custom-light: #b4649e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1277",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 119
  },
  "hsl": {
    "h": 311.52,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44835,
    "c": 0.18436,
    "h": 338.1
  },
  "luminance": 0.07604
}

Semantic roles & 50–950 ramp

primary
#8F1277
secondary
#3AC354
accent
#F45934
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1277

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

Preview Lab → · Contrast checker → · Palette generator →

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