#8F2E79#8F2E79

#8F2E79 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.2% C 0.156 H 338.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8F2E79
RGBrgb(143, 46, 121)
HSLhsl(314, 51%, 37%)
HSVhsv(314, 68%, 56%)
CMYKcmyk(0%, 67.8%, 15.4%, 43.9%)
CIE-LABlab(36.32, 49.15, -21.61)
CIE-LCHlch(36.32, 53.69, 336.27°)
OKLaboklab(47.16% 0.145 -0.0585)
OKLCHoklch(47.16% 0.156 338)
XYZxyz(15.7562, 9.1755, 19.0267)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E79 #2E8F44
analogous
#752E8F #8F2E79 #8F2E49
triadic
#8F2E79 #798F2E #2E798F
tetradic
#8F2E79 #8F752E #2E8F44 #2E498F
square
#8F2E79 #8F752E #2E8F44 #2E498F
split-complementary
#8F2E79 #498F2E #2E8F75
monochromatic
#32102B #611F52 #8F2E79 #BD3DA0 #CF69B8

Accessibility & contrast

On white

7.41
#8F2E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8F2E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E79
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E79#FFFFFF#000000##FFFFFF
##8F2E791.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7B
Deuteranopia (green-blind)
#505B77
Tritanopia (blue-blind)
#97324F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2e79;
/* rgb */ color: rgb(143, 46, 121);
/* oklch */ color: oklch(47.2% 0.156 338.0);
Tailwind
colors: {
  custom: {
    50: '#b36ea0',
    500: '#8f2e79',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e79;
$custom-light: #b36ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e79",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 313.608,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47157,
    "c": 0.15635,
    "h": 338
  },
  "luminance": 0.09174
}

Semantic roles & 50–950 ramp

primary
#8F2E79
secondary
#63B676
accent
#DB6D4D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8F2E79

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

Preview Lab → · Contrast checker → · Palette generator →

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