#8F266C#8F266C

#8F266C is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.158 H 344.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8F266C
RGBrgb(143, 38, 108)
HSLhsl(320, 58%, 35%)
HSVhsv(320, 73%, 56%)
CMYKcmyk(0%, 73.4%, 24.5%, 43.9%)
CIE-LABlab(34.62, 50.37, -16.05)
CIE-LCHlch(34.62, 52.86, 342.33°)
OKLaboklab(45.73% 0.1521 -0.0428)
OKLCHoklch(45.73% 0.158 344.3)
XYZxyz(14.7281, 8.3101, 15.0128)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F266C #268F49
analogous
#7D268F #8F266C #8F2637
triadic
#8F266C #6C8F26 #266C8F
tetradic
#8F266C #8F7D26 #268F49 #26378F
square
#8F266C #8F7D26 #268F49 #26378F
split-complementary
#8F266C #378F26 #268F7D
monochromatic
#2E0C23 #5F1947 #8F266C #BF3391 #D45CAC

Accessibility & contrast

On white

7.89
#8F266C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8F266C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F266C
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F266C#FFFFFF#000000##FFFFFF
##8F266C1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32466E
Deuteranopia (green-blind)
#52586A
Tritanopia (blue-blind)
#992545
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f266c;
/* rgb */ color: rgb(143, 38, 108);
/* oklch */ color: oklch(45.7% 0.158 344.3);
Tailwind
colors: {
  custom: {
    50: '#b36a96',
    500: '#8f266c',
    950: '#000000',
  },
}
SCSS
$custom: #8f266c;
$custom-light: #b36a96;
$custom-dark: #000000;
JSON
{
  "hex": "#8f266c",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 108
  },
  "hsl": {
    "h": 320,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45728,
    "c": 0.15795,
    "h": 344.3
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#8F266C
secondary
#58B978
accent
#E17A47
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F266C

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

Preview Lab → · Contrast checker → · Palette generator →

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