#8F2A6E#8F2A6E

#8F2A6E is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.154 H 343.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8F2A6E
RGBrgb(143, 42, 110)
HSLhsl(320, 55%, 36%)
HSVhsv(320, 71%, 56%)
CMYKcmyk(0%, 70.6%, 23.1%, 43.9%)
CIE-LABlab(35.25, 49.13, -16.35)
CIE-LCHlch(35.25, 51.78, 341.59°)
OKLaboklab(46.21% 0.1478 -0.0437)
OKLCHoklch(46.21% 0.154 343.5)
XYZxyz(14.9706, 8.6229, 15.6248)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A6E #2A8F4B
analogous
#7E2A8F #8F2A6E #8F2A3C
triadic
#8F2A6E #6E8F2A #2A6E8F
tetradic
#8F2A6E #8F7E2A #2A8F4B #2A3C8F
square
#8F2A6E #8F7E2A #2A8F4B #2A3C8F
split-complementary
#8F2A6E #3C8F2A #2A8F7E
monochromatic
#300E25 #601C4A #8F2A6E #BE3892 #D162AD

Accessibility & contrast

On white

7.71
#8F2A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8F2A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A6E
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A6E#FFFFFF#000000##FFFFFF
##8F2A6E1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344870
Deuteranopia (green-blind)
#52596C
Tritanopia (blue-blind)
#982A48
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2a6e;
/* rgb */ color: rgb(143, 42, 110);
/* oklch */ color: oklch(46.2% 0.154 343.5);
Tailwind
colors: {
  custom: {
    50: '#b36c97',
    500: '#8f2a6e',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a6e;
$custom-light: #b36c97;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a6e",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 319.604,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46213,
    "c": 0.15413,
    "h": 343.5
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#8F2A6E
secondary
#5EB77B
accent
#DE7A4A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F2A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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