#8F1255#8F1255

#8F1255 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.3% C 0.165 H 355.0°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#8F1255
RGBrgb(143, 18, 85)
HSLhsl(328, 78%, 32%)
HSVhsv(328, 87%, 56%)
CMYKcmyk(0%, 87.4%, 40.6%, 43.9%)
CIE-LABlab(31.65, 53.46, -5.73)
CIE-LCHlch(31.65, 53.76, 353.89°)
OKLaboklab(43.26% 0.1647 -0.0144)
OKLCHoklch(43.26% 0.165 355)
XYZxyz(13.1847, 6.9299, 9.2359)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1255 #128F4C
analogous
#8B128F #8F1255 #8F1217
triadic
#8F1255 #558F12 #12558F
tetradic
#8F1255 #8F8B12 #128F4C #12178F
square
#8F1255 #8F8B12 #128F4C #12178F
split-complementary
#8F1255 #178F12 #128F8B
monochromatic
#220414 #590B35 #8F1255 #C51975 #E63694

Accessibility & contrast

On white

8.80
#8F1255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1255
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1255#FFFFFF#000000##FFFFFF
##8F12551.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303C57
Deuteranopia (green-blind)
#525252
Tritanopia (blue-blind)
#9B0033
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f1255;
/* rgb */ color: rgb(143, 18, 85);
/* oklch */ color: oklch(43.3% 0.165 355.0);
Tailwind
colors: {
  custom: {
    50: '#b56284',
    500: '#8f1255',
    950: '#000000',
  },
}
SCSS
$custom: #8f1255;
$custom-light: #b56284;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1255",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 85
  },
  "hsl": {
    "h": 327.84,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43264,
    "c": 0.16535,
    "h": 355
  },
  "luminance": 0.06928
}

Semantic roles & 50–950 ramp

primary
#8F1255
secondary
#3AC379
accent
#F48D34
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8F1255

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

Preview Lab → · Contrast checker → · Palette generator →

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