#8F124F#8F124F

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

Color values

HEX#8F124F
RGBrgb(143, 18, 79)
HSLhsl(331, 78%, 32%)
HSVhsv(331, 87%, 56%)
CMYKcmyk(0%, 87.4%, 44.8%, 43.9%)
CIE-LABlab(31.44, 52.86, -2.10)
CIE-LCHlch(31.44, 52.90, 357.73°)
OKLaboklab(43.04% 0.1629 -0.0049)
OKLCHoklch(43.04% 0.163 358.3)
XYZxyz(12.9563, 6.8385, 8.0333)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F124F #128F52
analogous
#8F128E #8F124F #8F1412
triadic
#8F124F #4F8F12 #124F8F
tetradic
#8F124F #8E8F12 #128F52 #14128F
square
#8F124F #8E8F12 #128F52 #14128F
split-complementary
#8F124F #128F14 #128E8F
monochromatic
#220413 #590B31 #8F124F #C5196D #E6368C

Accessibility & contrast

On white

8.87
#8F124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8F124F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F124F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F124F#FFFFFF#000000##FFFFFF
##8F124F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323B50
Deuteranopia (green-blind)
#54524C
Tritanopia (blue-blind)
#9C0030
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f124f;
/* rgb */ color: rgb(143, 18, 79);
/* oklch */ color: oklch(43.0% 0.163 358.3);
Tailwind
colors: {
  custom: {
    50: '#b56280',
    500: '#8f124f',
    950: '#000000',
  },
}
SCSS
$custom: #8f124f;
$custom-light: #b56280;
$custom-dark: #000000;
JSON
{
  "hex": "#8f124f",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 330.72,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43042,
    "c": 0.16294,
    "h": 358.3
  },
  "luminance": 0.06837
}

Semantic roles & 50–950 ramp

primary
#8F124F
secondary
#3AC380
accent
#F49634
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8F124F

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

Preview Lab → · Contrast checker → · Palette generator →

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