#8F274A#8F274A

#8F274A is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.5% C 0.141 H 4.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8F274A
RGBrgb(143, 39, 74)
HSLhsl(340, 57%, 36%)
HSVhsv(340, 73%, 56%)
CMYKcmyk(0%, 72.7%, 48.3%, 43.9%)
CIE-LABlab(33.53, 46.01, 4.23)
CIE-LCHlch(33.53, 46.20, 5.25°)
OKLaboklab(44.53% 0.1406 0.0113)
OKLCHoklch(44.53% 0.141 4.6)
XYZxyz(13.2903, 7.7868, 7.2804)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F274A #278F6C
analogous
#8F277E #8F274A #8F3827
triadic
#8F274A #4A8F27 #274A8F
tetradic
#8F274A #7E8F27 #278F6C #38278F
square
#8F274A #7E8F27 #278F6C #38278F
split-complementary
#8F274A #278F38 #277E8F
monochromatic
#2F0D18 #5F1A31 #8F274A #BF3463 #D35D85

Accessibility & contrast

On white

8.21
#8F274A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8F274A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F274A
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F274A#FFFFFF#000000##FFFFFF
##8F274A1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F424B
Deuteranopia (green-blind)
#5A5648
Tritanopia (blue-blind)
#9C1535
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f274a;
/* rgb */ color: rgb(143, 39, 74);
/* oklch */ color: oklch(44.5% 0.141 4.6);
Tailwind
colors: {
  custom: {
    50: '#b56a7c',
    500: '#8f274a',
    950: '#000000',
  },
}
SCSS
$custom: #8f274a;
$custom-light: #b56a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f274a",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 74
  },
  "hsl": {
    "h": 339.808,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44532,
    "c": 0.14106,
    "h": 4.6
  },
  "luminance": 0.07785
}

Semantic roles & 50–950 ramp

primary
#8F274A
secondary
#5AB898
accent
#E0AD47
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120709
muted
#817A7B

Preview Lab

Preview with #8F274A

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

Preview Lab → · Contrast checker → · Palette generator →

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