#8F266B#8F266B

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

Color values

HEX#8F266B
RGBrgb(143, 38, 107)
HSLhsl(321, 58%, 35%)
HSVhsv(321, 73%, 56%)
CMYKcmyk(0%, 73.4%, 25.2%, 43.9%)
CIE-LABlab(34.58, 50.23, -15.48)
CIE-LCHlch(34.58, 52.56, 342.87°)
OKLaboklab(45.68% 0.1518 -0.0412)
OKLCHoklch(45.68% 0.157 344.8)
XYZxyz(14.6752, 8.2889, 14.7341)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F266B #268F4A
analogous
#7E268F #8F266B #8F2637
triadic
#8F266B #6B8F26 #266B8F
tetradic
#8F266B #8F7E26 #268F4A #26378F
square
#8F266B #8F7E26 #268F4A #26378F
split-complementary
#8F266B #378F26 #268F7E
monochromatic
#2E0C23 #5F1947 #8F266B #BF338F #D45CAB

Accessibility & contrast

On white

7.90
#8F266B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F266B
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F266B#FFFFFF#000000##FFFFFF
##8F266B1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32466D
Deuteranopia (green-blind)
#525869
Tritanopia (blue-blind)
#992545
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f266b;
/* rgb */ color: rgb(143, 38, 107);
/* oklch */ color: oklch(45.7% 0.157 344.8);
Tailwind
colors: {
  custom: {
    50: '#b36a95',
    500: '#8f266b',
    950: '#000000',
  },
}
SCSS
$custom: #8f266b;
$custom-light: #b36a95;
$custom-dark: #000000;
JSON
{
  "hex": "#8f266b",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 320.571,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45682,
    "c": 0.15733,
    "h": 344.8
  },
  "luminance": 0.08287
}

Semantic roles & 50–950 ramp

primary
#8F266B
secondary
#58B979
accent
#E17C47
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F266B

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

Preview Lab → · Contrast checker → · Palette generator →

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