#8F276C#8F276C

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

Color values

HEX#8F276C
RGBrgb(143, 39, 108)
HSLhsl(320, 57%, 36%)
HSVhsv(320, 73%, 56%)
CMYKcmyk(0%, 72.7%, 24.5%, 43.9%)
CIE-LABlab(34.75, 50.00, -15.84)
CIE-LCHlch(34.75, 52.45, 342.42°)
OKLaboklab(45.82% 0.1509 -0.0422)
OKLCHoklch(45.82% 0.157 344.4)
XYZxyz(14.7605, 8.3749, 15.0236)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F276C #278F4A
analogous
#7E278F #8F276C #8F2738
triadic
#8F276C #6C8F27 #276C8F
tetradic
#8F276C #8F7E27 #278F4A #27388F
square
#8F276C #8F7E27 #278F4A #27388F
split-complementary
#8F276C #388F27 #278F7E
monochromatic
#2F0D23 #5F1A48 #8F276C #BF3490 #D35DAB

Accessibility & contrast

On white

7.85
#8F276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F276C
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F276C#FFFFFF#000000##FFFFFF
##8F276C1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32476E
Deuteranopia (green-blind)
#52586A
Tritanopia (blue-blind)
#992646
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f276c;
/* rgb */ color: rgb(143, 39, 108);
/* oklch */ color: oklch(45.8% 0.157 344.4);
Tailwind
colors: {
  custom: {
    50: '#b36b96',
    500: '#8f276c',
    950: '#000000',
  },
}
SCSS
$custom: #8f276c;
$custom-light: #b36b96;
$custom-dark: #000000;
JSON
{
  "hex": "#8f276c",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 320.192,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45823,
    "c": 0.15671,
    "h": 344.4
  },
  "luminance": 0.08373
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F276C

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

Preview Lab → · Contrast checker → · Palette generator →

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