#8F1257#8F1257

#8F1257 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.166 H 353.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#8F1257
RGBrgb(143, 18, 87)
HSLhsl(327, 78%, 32%)
HSVhsv(327, 87%, 56%)
CMYKcmyk(0%, 87.4%, 39.2%, 43.9%)
CIE-LABlab(31.72, 53.66, -6.93)
CIE-LCHlch(31.72, 54.11, 352.65°)
OKLaboklab(43.34% 0.1653 -0.0176)
OKLCHoklch(43.34% 0.166 353.9)
XYZxyz(13.2652, 6.9621, 9.6603)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1257 #128F4A
analogous
#89128F #8F1257 #8F1219
triadic
#8F1257 #578F12 #12578F
tetradic
#8F1257 #8F8912 #128F4A #12198F
square
#8F1257 #8F8912 #128F4A #12198F
split-complementary
#8F1257 #198F12 #128F89
monochromatic
#220415 #590B36 #8F1257 #C51978 #E63697

Accessibility & contrast

On white

8.78
#8F1257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8F1257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1257
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1257#FFFFFF#000000##FFFFFF
##8F12571.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3C59
Deuteranopia (green-blind)
#525354
Tritanopia (blue-blind)
#9B0034
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f1257;
/* rgb */ color: rgb(143, 18, 87);
/* oklch */ color: oklch(43.3% 0.166 353.9);
Tailwind
colors: {
  custom: {
    50: '#b56286',
    500: '#8f1257',
    950: '#000000',
  },
}
SCSS
$custom: #8f1257;
$custom-light: #b56286;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1257",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 326.88,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43341,
    "c": 0.16624,
    "h": 353.9
  },
  "luminance": 0.0696
}

Semantic roles & 50–950 ramp

primary
#8F1257
secondary
#3AC377
accent
#F48A34
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8F1257

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

Preview Lab → · Contrast checker → · Palette generator →

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