#8F274C#8F274C

#8F274C is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.6% C 0.142 H 3.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8F274C
RGBrgb(143, 39, 76)
HSLhsl(339, 57%, 36%)
HSVhsv(339, 73%, 56%)
CMYKcmyk(0%, 72.7%, 46.9%, 43.9%)
CIE-LABlab(33.59, 46.20, 3.01)
CIE-LCHlch(33.59, 46.30, 3.73°)
OKLaboklab(44.59% 0.1414 0.0082)
OKLCHoklch(44.59% 0.142 3.3)
XYZxyz(13.3588, 7.8142, 7.6409)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F274C #278F6A
analogous
#8F2780 #8F274C #8F3627
triadic
#8F274C #4C8F27 #274C8F
tetradic
#8F274C #808F27 #278F6A #36278F
square
#8F274C #808F27 #278F6A #36278F
split-complementary
#8F274C #278F36 #27808F
monochromatic
#2F0D19 #5F1A32 #8F274C #BF3466 #D35D87

Accessibility & contrast

On white

8.20
#8F274C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F274C
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F274C#FFFFFF#000000##FFFFFF
##8F274C1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424D
Deuteranopia (green-blind)
#5A564A
Tritanopia (blue-blind)
#9C1636
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f274c;
/* rgb */ color: rgb(143, 39, 76);
/* oklch */ color: oklch(44.6% 0.142 3.3);
Tailwind
colors: {
  custom: {
    50: '#b56a7d',
    500: '#8f274c',
    950: '#000000',
  },
}
SCSS
$custom: #8f274c;
$custom-light: #b56a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f274c",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 76
  },
  "hsl": {
    "h": 338.654,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44594,
    "c": 0.14161,
    "h": 3.3
  },
  "luminance": 0.07812
}

Semantic roles & 50–950 ramp

primary
#8F274C
secondary
#5AB897
accent
#E0AA47
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120709
muted
#817A7B

Preview Lab

Preview with #8F274C

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

Preview Lab → · Contrast checker → · Palette generator →

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