#8F276B#8F276B

#8F276B is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.156 H 344.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8F276B
RGBrgb(143, 39, 107)
HSLhsl(321, 57%, 36%)
HSVhsv(321, 73%, 56%)
CMYKcmyk(0%, 72.7%, 25.2%, 43.9%)
CIE-LABlab(34.71, 49.86, -15.28)
CIE-LCHlch(34.71, 52.15, 342.97°)
OKLaboklab(45.78% 0.1507 -0.0406)
OKLCHoklch(45.78% 0.156 344.9)
XYZxyz(14.7076, 8.3538, 14.7449)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F276B #278F4B
analogous
#7F278F #8F276B #8F2737
triadic
#8F276B #6B8F27 #276B8F
tetradic
#8F276B #8F7F27 #278F4B #27378F
square
#8F276B #8F7F27 #278F4B #27378F
split-complementary
#8F276B #378F27 #278F7F
monochromatic
#2F0D23 #5F1A47 #8F276B #BF348F #D35DAA

Accessibility & contrast

On white

7.86
#8F276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8F276B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F276B
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F276B#FFFFFF#000000##FFFFFF
##8F276B1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33466D
Deuteranopia (green-blind)
#525869
Tritanopia (blue-blind)
#992645
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f276b;
/* rgb */ color: rgb(143, 39, 107);
/* oklch */ color: oklch(45.8% 0.156 344.9);
Tailwind
colors: {
  custom: {
    50: '#b36b95',
    500: '#8f276b',
    950: '#000000',
  },
}
SCSS
$custom: #8f276b;
$custom-light: #b36b95;
$custom-dark: #000000;
JSON
{
  "hex": "#8f276b",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 320.769,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45778,
    "c": 0.15608,
    "h": 344.9
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#8F276B
secondary
#5AB87A
accent
#E07C47
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F276B

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

Preview Lab → · Contrast checker → · Palette generator →

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