#8F1256#8F1256

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

Color values

HEX#8F1256
RGBrgb(143, 18, 86)
HSLhsl(327, 78%, 32%)
HSVhsv(327, 87%, 56%)
CMYKcmyk(0%, 87.4%, 39.9%, 43.9%)
CIE-LABlab(31.68, 53.56, -6.33)
CIE-LCHlch(31.68, 53.93, 353.26°)
OKLaboklab(43.3% 0.165 -0.016)
OKLCHoklch(43.3% 0.166 354.4)
XYZxyz(13.2247, 6.9459, 9.4466)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1256 #128F4B
analogous
#8A128F #8F1256 #8F1218
triadic
#8F1256 #568F12 #12568F
tetradic
#8F1256 #8F8A12 #128F4B #12188F
square
#8F1256 #8F8A12 #128F4B #12188F
split-complementary
#8F1256 #188F12 #128F8A
monochromatic
#220415 #590B35 #8F1256 #C51977 #E63695

Accessibility & contrast

On white

8.79
#8F1256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1256
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1256#FFFFFF#000000##FFFFFF
##8F12561.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303C58
Deuteranopia (green-blind)
#525253
Tritanopia (blue-blind)
#9B0034
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f1256;
/* rgb */ color: rgb(143, 18, 86);
/* oklch */ color: oklch(43.3% 0.166 354.4);
Tailwind
colors: {
  custom: {
    50: '#b56285',
    500: '#8f1256',
    950: '#000000',
  },
}
SCSS
$custom: #8f1256;
$custom-light: #b56285;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1256",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 327.36,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43302,
    "c": 0.16579,
    "h": 354.4
  },
  "luminance": 0.06944
}

Semantic roles & 50–950 ramp

primary
#8F1256
secondary
#3AC378
accent
#F48B34
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8F1256

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

Preview Lab → · Contrast checker → · Palette generator →

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