#8F124E#8F124E

#8F124E is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.0% C 0.163 H 358.8°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#8F124E
RGBrgb(143, 18, 78)
HSLhsl(331, 78%, 32%)
HSVhsv(331, 87%, 56%)
CMYKcmyk(0%, 87.4%, 45.5%, 43.9%)
CIE-LABlab(31.40, 52.76, -1.49)
CIE-LCHlch(31.40, 52.78, 358.39°)
OKLaboklab(43.01% 0.1625 -0.0033)
OKLCHoklch(43.01% 0.163 358.8)
XYZxyz(12.9202, 6.8241, 7.8431)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F124E #128F53
analogous
#8F128D #8F124E #8F1512
triadic
#8F124E #4E8F12 #124E8F
tetradic
#8F124E #8D8F12 #128F53 #15128F
square
#8F124E #8D8F12 #128F53 #15128F
split-complementary
#8F124E #128F15 #128D8F
monochromatic
#220413 #590B30 #8F124E #C5196C #E6368A

Accessibility & contrast

On white

8.88
#8F124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8F124E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F124E
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F124E#FFFFFF#000000##FFFFFF
##8F124E1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4F
Deuteranopia (green-blind)
#54524B
Tritanopia (blue-blind)
#9C002F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f124e;
/* rgb */ color: rgb(143, 18, 78);
/* oklch */ color: oklch(43.0% 0.163 358.8);
Tailwind
colors: {
  custom: {
    50: '#b5627f',
    500: '#8f124e',
    950: '#000000',
  },
}
SCSS
$custom: #8f124e;
$custom-light: #b5627f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f124e",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 331.2,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43007,
    "c": 0.16257,
    "h": 358.8
  },
  "luminance": 0.06822
}

Semantic roles & 50–950 ramp

primary
#8F124E
secondary
#3AC381
accent
#F49834
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8F124E

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

Preview Lab → · Contrast checker → · Palette generator →

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