#8F266E#8F266E

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

Color values

HEX#8F266E
RGBrgb(143, 38, 110)
HSLhsl(319, 58%, 35%)
HSVhsv(319, 73%, 56%)
CMYKcmyk(0%, 73.4%, 23.1%, 43.9%)
CIE-LABlab(34.71, 50.64, -17.18)
CIE-LCHlch(34.71, 53.48, 341.26°)
OKLaboklab(45.82% 0.1525 -0.0459)
OKLCHoklch(45.82% 0.159 343.2)
XYZxyz(14.8358, 8.3532, 15.5798)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F266E #268F47
analogous
#7B268F #8F266E #8F2639
triadic
#8F266E #6E8F26 #266E8F
tetradic
#8F266E #8F7B26 #268F47 #26398F
square
#8F266E #8F7B26 #268F47 #26398F
split-complementary
#8F266E #398F26 #268F7B
monochromatic
#2E0C24 #5F1949 #8F266E #BF3393 #D45CAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F266E#FFFFFF#000000##FFFFFF
##8F266E1.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)
#314770
Deuteranopia (green-blind)
#51586C
Tritanopia (blue-blind)
#982646
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f266e;
/* rgb */ color: rgb(143, 38, 110);
/* oklch */ color: oklch(45.8% 0.159 343.2);
Tailwind
colors: {
  custom: {
    50: '#b36a97',
    500: '#8f266e',
    950: '#000000',
  },
}
SCSS
$custom: #8f266e;
$custom-light: #b36a97;
$custom-dark: #000000;
JSON
{
  "hex": "#8f266e",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 318.857,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4582,
    "c": 0.15923,
    "h": 343.2
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#8F266E
secondary
#58B977
accent
#E17747
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F266E

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

Preview Lab → · Contrast checker → · Palette generator →

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