#8F276D#8F276D

#8F276D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.157 H 343.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8F276D
RGBrgb(143, 39, 109)
HSLhsl(320, 57%, 36%)
HSVhsv(320, 73%, 56%)
CMYKcmyk(0%, 72.7%, 23.8%, 43.9%)
CIE-LABlab(34.80, 50.14, -16.41)
CIE-LCHlch(34.80, 52.75, 341.87°)
OKLaboklab(45.87% 0.1511 -0.0438)
OKLCHoklch(45.87% 0.157 343.8)
XYZxyz(14.8141, 8.3963, 15.3055)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F276D #278F49
analogous
#7D278F #8F276D #8F2739
triadic
#8F276D #6D8F27 #276D8F
tetradic
#8F276D #8F7D27 #278F49 #27398F
square
#8F276D #8F7D27 #278F49 #27398F
split-complementary
#8F276D #398F27 #278F7D
monochromatic
#2F0D24 #5F1A48 #8F276D #BF3492 #D35DAD

Accessibility & contrast

On white

7.84
#8F276D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8F276D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F276D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F276D#FFFFFF#000000##FFFFFF
##8F276D1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32476F
Deuteranopia (green-blind)
#52586B
Tritanopia (blue-blind)
#982746
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f276d;
/* rgb */ color: rgb(143, 39, 109);
/* oklch */ color: oklch(45.9% 0.157 343.8);
Tailwind
colors: {
  custom: {
    50: '#b36b97',
    500: '#8f276d',
    950: '#000000',
  },
}
SCSS
$custom: #8f276d;
$custom-light: #b36b97;
$custom-dark: #000000;
JSON
{
  "hex": "#8f276d",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 319.615,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45869,
    "c": 0.15735,
    "h": 343.8
  },
  "luminance": 0.08395
}

Semantic roles & 50–950 ramp

primary
#8F276D
secondary
#5AB879
accent
#E07947
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F276D

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

Preview Lab → · Contrast checker → · Palette generator →

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