#8F1279#8F1279

#8F1279 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.9% C 0.186 H 337.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#8F1279
RGBrgb(143, 18, 121)
HSLhsl(311, 78%, 32%)
HSVhsv(311, 87%, 56%)
CMYKcmyk(0%, 87.4%, 15.4%, 43.9%)
CIE-LABlab(33.25, 57.88, -26.40)
CIE-LCHlch(33.25, 63.62, 335.48°)
OKLaboklab(44.94% 0.1712 -0.072)
OKLCHoklch(44.94% 0.186 337.2)
XYZxyz(14.9955, 7.6542, 18.7731)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1279 #128F28
analogous
#67128F #8F1279 #8F123B
triadic
#8F1279 #798F12 #12798F
tetradic
#8F1279 #8F6712 #128F28 #123B8F
square
#8F1279 #8F6712 #128F28 #123B8F
split-complementary
#8F1279 #3B8F12 #128F67
monochromatic
#22041D #590B4B #8F1279 #C519A7 #E636C7

Accessibility & contrast

On white

8.30
#8F1279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8F1279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1279
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1279#FFFFFF#000000##FFFFFF
##8F12791.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18427B
Deuteranopia (green-blind)
#475576
Tritanopia (blue-blind)
#971D47
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f1279;
/* rgb */ color: rgb(143, 18, 121);
/* oklch */ color: oklch(44.9% 0.186 337.2);
Tailwind
colors: {
  custom: {
    50: '#b464a0',
    500: '#8f1279',
    950: '#000000',
  },
}
SCSS
$custom: #8f1279;
$custom-light: #b464a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1279",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 121
  },
  "hsl": {
    "h": 310.56,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44943,
    "c": 0.18568,
    "h": 337.2
  },
  "luminance": 0.07653
}

Semantic roles & 50–950 ramp

primary
#8F1279
secondary
#3AC352
accent
#F45634
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1279

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

Preview Lab → · Contrast checker → · Palette generator →

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