#8F284B#8F284B

#8F284B is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.7% C 0.140 H 4.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8F284B
RGBrgb(143, 40, 75)
HSLhsl(340, 56%, 36%)
HSVhsv(340, 72%, 56%)
CMYKcmyk(0%, 72%, 47.6%, 43.9%)
CIE-LABlab(33.70, 45.71, 3.82)
CIE-LCHlch(33.70, 45.87, 4.78°)
OKLaboklab(44.67% 0.1398 0.0103)
OKLCHoklch(44.67% 0.14 4.2)
XYZxyz(13.3575, 7.8669, 7.4703)
Luminance0.0786 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F284B #288F6C
analogous
#8F287E #8F284B #8F3928
triadic
#8F284B #4B8F28 #284B8F
tetradic
#8F284B #7E8F28 #288F6C #39288F
square
#8F284B #7E8F28 #288F6C #39288F
split-complementary
#8F284B #288F39 #287E8F
monochromatic
#2F0D19 #5F1B32 #8F284B #BF3564 #D25F86

Accessibility & contrast

On white

8.16
#8F284B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8F284B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F284B
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F284B#FFFFFF#000000##FFFFFF
##8F284B1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F424C
Deuteranopia (green-blind)
#5A5749
Tritanopia (blue-blind)
#9C1736
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f284b;
/* rgb */ color: rgb(143, 40, 75);
/* oklch */ color: oklch(44.7% 0.140 4.2);
Tailwind
colors: {
  custom: {
    50: '#b56a7d',
    500: '#8f284b',
    950: '#000000',
  },
}
SCSS
$custom: #8f284b;
$custom-light: #b56a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f284b",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 75
  },
  "hsl": {
    "h": 339.612,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44666,
    "c": 0.14013,
    "h": 4.2
  },
  "luminance": 0.07865
}

Semantic roles & 50–950 ramp

primary
#8F284B
secondary
#5BB898
accent
#E0AC48
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120709
muted
#817A7B

Preview Lab

Preview with #8F284B

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

Preview Lab → · Contrast checker → · Palette generator →

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