#8F1254#8F1254

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

Color values

HEX#8F1254
RGBrgb(143, 18, 84)
HSLhsl(328, 78%, 32%)
HSVhsv(328, 87%, 56%)
CMYKcmyk(0%, 87.4%, 41.3%, 43.9%)
CIE-LABlab(31.61, 53.35, -5.12)
CIE-LCHlch(31.61, 53.60, 354.51°)
OKLaboklab(43.23% 0.1644 -0.0128)
OKLCHoklch(43.23% 0.165 355.5)
XYZxyz(13.1452, 6.9141, 9.0281)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1254 #128F4D
analogous
#8C128F #8F1254 #8F1216
triadic
#8F1254 #548F12 #12548F
tetradic
#8F1254 #8F8C12 #128F4D #12168F
square
#8F1254 #8F8C12 #128F4D #12168F
split-complementary
#8F1254 #168F12 #128F8C
monochromatic
#220414 #590B34 #8F1254 #C51974 #E63693

Accessibility & contrast

On white

8.81
#8F1254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8F1254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1254
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1254#FFFFFF#000000##FFFFFF
##8F12541.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303C55
Deuteranopia (green-blind)
#535251
Tritanopia (blue-blind)
#9B0032
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f1254;
/* rgb */ color: rgb(143, 18, 84);
/* oklch */ color: oklch(43.2% 0.165 355.5);
Tailwind
colors: {
  custom: {
    50: '#b56284',
    500: '#8f1254',
    950: '#000000',
  },
}
SCSS
$custom: #8f1254;
$custom-light: #b56284;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1254",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 84
  },
  "hsl": {
    "h": 328.32,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43225,
    "c": 0.16493,
    "h": 355.5
  },
  "luminance": 0.06912
}

Semantic roles & 50–950 ramp

primary
#8F1254
secondary
#3AC37B
accent
#F48F34
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8F1254

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

Preview Lab → · Contrast checker → · Palette generator →

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