#8F266A#8F266A

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

Color values

HEX#8F266A
RGBrgb(143, 38, 106)
HSLhsl(321, 58%, 35%)
HSVhsv(321, 73%, 56%)
CMYKcmyk(0%, 73.4%, 25.9%, 43.9%)
CIE-LABlab(34.53, 50.09, -14.91)
CIE-LCHlch(34.53, 52.27, 343.43°)
OKLaboklab(45.64% 0.1516 -0.0396)
OKLCHoklch(45.64% 0.157 345.4)
XYZxyz(14.6229, 8.2680, 14.4587)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F266A #268F4B
analogous
#7F268F #8F266A #8F2635
triadic
#8F266A #6A8F26 #266A8F
tetradic
#8F266A #8F7F26 #268F4B #26358F
square
#8F266A #8F7F26 #268F4B #26358F
split-complementary
#8F266A #358F26 #268F7F
monochromatic
#2E0C22 #5F1946 #8F266A #BF338E #D45CA9

Accessibility & contrast

On white

7.91
#8F266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8F266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F266A
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F266A#FFFFFF#000000##FFFFFF
##8F266A1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33466C
Deuteranopia (green-blind)
#525868
Tritanopia (blue-blind)
#992444
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f266a;
/* rgb */ color: rgb(143, 38, 106);
/* oklch */ color: oklch(45.6% 0.157 345.4);
Tailwind
colors: {
  custom: {
    50: '#b36a94',
    500: '#8f266a',
    950: '#000000',
  },
}
SCSS
$custom: #8f266a;
$custom-light: #b36a94;
$custom-dark: #000000;
JSON
{
  "hex": "#8f266a",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 321.143,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45637,
    "c": 0.15672,
    "h": 345.4
  },
  "luminance": 0.08266
}

Semantic roles & 50–950 ramp

primary
#8F266A
secondary
#58B97A
accent
#E17D47
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F266A

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

Preview Lab → · Contrast checker → · Palette generator →

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