#8F274D#8F274D

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

Color values

HEX#8F274D
RGBrgb(143, 39, 77)
HSLhsl(338, 57%, 36%)
HSVhsv(338, 73%, 56%)
CMYKcmyk(0%, 72.7%, 46.2%, 43.9%)
CIE-LABlab(33.62, 46.30, 2.40)
CIE-LCHlch(33.62, 46.36, 2.97°)
OKLaboklab(44.63% 0.1417 0.0067)
OKLCHoklch(44.63% 0.142 2.7)
XYZxyz(13.3938, 7.8282, 7.8254)
Luminance0.0783 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F274D #278F69
analogous
#8F2781 #8F274D #8F3527
triadic
#8F274D #4D8F27 #274D8F
tetradic
#8F274D #818F27 #278F69 #35278F
square
#8F274D #818F27 #278F69 #35278F
split-complementary
#8F274D #278F35 #27818F
monochromatic
#2F0D19 #5F1A33 #8F274D #BF3467 #D35D88

Accessibility & contrast

On white

8.19
#8F274D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F274D
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F274D#FFFFFF#000000##FFFFFF
##8F274D1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424E
Deuteranopia (green-blind)
#5A564B
Tritanopia (blue-blind)
#9B1737
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f274d;
/* rgb */ color: rgb(143, 39, 77);
/* oklch */ color: oklch(44.6% 0.142 2.7);
Tailwind
colors: {
  custom: {
    50: '#b56a7e',
    500: '#8f274d',
    950: '#000000',
  },
}
SCSS
$custom: #8f274d;
$custom-light: #b56a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f274d",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 77
  },
  "hsl": {
    "h": 338.077,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44625,
    "c": 0.1419,
    "h": 2.7
  },
  "luminance": 0.07826
}

Semantic roles & 50–950 ramp

primary
#8F274D
secondary
#5AB896
accent
#E0A847
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8F274D

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

Preview Lab → · Contrast checker → · Palette generator →

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