#8F1276#8F1276

#8F1276 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.8% C 0.184 H 338.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#8F1276
RGBrgb(143, 18, 118)
HSLhsl(312, 78%, 32%)
HSVhsv(312, 87%, 56%)
CMYKcmyk(0%, 87.4%, 17.5%, 43.9%)
CIE-LABlab(33.10, 57.46, -24.75)
CIE-LCHlch(33.10, 62.56, 336.70°)
OKLaboklab(44.78% 0.171 -0.0672)
OKLCHoklch(44.78% 0.184 338.5)
XYZxyz(14.8144, 7.5818, 17.8193)
Luminance0.0758 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1276 #128F2B
analogous
#6A128F #8F1276 #8F1238
triadic
#8F1276 #768F12 #12768F
tetradic
#8F1276 #8F6A12 #128F2B #12388F
square
#8F1276 #8F6A12 #128F2B #12388F
split-complementary
#8F1276 #388F12 #128F6A
monochromatic
#22041C #590B49 #8F1276 #C519A3 #E636C2

Accessibility & contrast

On white

8.35
#8F1276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8F1276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1276
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1276#FFFFFF#000000##FFFFFF
##8F12761.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4278
Deuteranopia (green-blind)
#485473
Tritanopia (blue-blind)
#981B46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8f1276;
/* rgb */ color: rgb(143, 18, 118);
/* oklch */ color: oklch(44.8% 0.184 338.5);
Tailwind
colors: {
  custom: {
    50: '#b4649e',
    500: '#8f1276',
    950: '#000000',
  },
}
SCSS
$custom: #8f1276;
$custom-light: #b4649e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1276",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 312,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44781,
    "c": 0.18371,
    "h": 338.5
  },
  "luminance": 0.0758
}

Semantic roles & 50–950 ramp

primary
#8F1276
secondary
#3AC355
accent
#F45A34
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1276

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

Preview Lab → · Contrast checker → · Palette generator →

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