#8F1479#8F1479

#8F1479 is a mid, vivid pink. Relative luminance 0.077; OKLCH L 45.0% C 0.184 H 337.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8F1479
RGBrgb(143, 20, 121)
HSLhsl(311, 75%, 32%)
HSVhsv(311, 86%, 56%)
CMYKcmyk(0%, 86%, 15.4%, 43.9%)
CIE-LABlab(33.40, 57.46, -26.17)
CIE-LCHlch(33.40, 63.14, 335.51°)
OKLaboklab(45.05% 0.1699 -0.0713)
OKLCHoklch(45.05% 0.184 337.2)
XYZxyz(15.0294, 7.7219, 18.7844)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1479 #148F2A
analogous
#68148F #8F1479 #8F143B
triadic
#8F1479 #798F14 #14798F
tetradic
#8F1479 #8F6814 #148F2A #143B8F
square
#8F1479 #8F6814 #148F2A #143B8F
split-complementary
#8F1479 #3B8F14 #148F68
monochromatic
#24051E #590C4C #8F1479 #C51CA6 #E33AC5

Accessibility & contrast

On white

8.25
#8F1479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8F1479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1479
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1479#FFFFFF#000000##FFFFFF
##8F14791.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437B
Deuteranopia (green-blind)
#475576
Tritanopia (blue-blind)
#971E48
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1479;
/* rgb */ color: rgb(143, 20, 121);
/* oklch */ color: oklch(45.0% 0.184 337.2);
Tailwind
colors: {
  custom: {
    50: '#b464a0',
    500: '#8f1479',
    950: '#000000',
  },
}
SCSS
$custom: #8f1479;
$custom-light: #b464a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1479",
  "rgb": {
    "r": 143,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 310.732,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45046,
    "c": 0.18427,
    "h": 337.2
  },
  "luminance": 0.0772
}

Semantic roles & 50–950 ramp

primary
#8F1479
secondary
#3CC354
accent
#F25736
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1479

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

Preview Lab → · Contrast checker → · Palette generator →

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