#8F1877#8F1877

#8F1877 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.2% C 0.180 H 338.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8F1877
RGBrgb(143, 24, 119)
HSLhsl(312, 71%, 33%)
HSVhsv(312, 83%, 56%)
CMYKcmyk(0%, 83.2%, 16.8%, 43.9%)
CIE-LABlab(33.62, 56.24, -24.56)
CIE-LCHlch(33.62, 61.37, 336.41°)
OKLaboklab(45.17% 0.1669 -0.0667)
OKLCHoklch(45.17% 0.18 338.2)
XYZxyz(14.9845, 7.8263, 18.1707)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1877 #188F30
analogous
#6B188F #8F1877 #8F183B
triadic
#8F1877 #778F18 #18778F
tetradic
#8F1877 #8F6B18 #188F30 #183B8F
square
#8F1877 #8F6B18 #188F30 #183B8F
split-complementary
#8F1877 #3B8F18 #188F6B
monochromatic
#260620 #5B0F4B #8F1877 #C321A3 #DF42C0

Accessibility & contrast

On white

8.19
#8F1877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8F1877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1877
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1877#FFFFFF#000000##FFFFFF
##8F18771.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4379
Deuteranopia (green-blind)
#495574
Tritanopia (blue-blind)
#972047
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1877;
/* rgb */ color: rgb(143, 24, 119);
/* oklch */ color: oklch(45.2% 0.180 338.2);
Tailwind
colors: {
  custom: {
    50: '#b4659e',
    500: '#8f1877',
    950: '#000000',
  },
}
SCSS
$custom: #8f1877;
$custom-light: #b4659e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1877",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 312.101,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45172,
    "c": 0.17976,
    "h": 338.2
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

primary
#8F1877
secondary
#43C05C
accent
#EE5E3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1877

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

Preview Lab → · Contrast checker → · Palette generator →

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