#8F2579#8F2579

#8F2579 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.3% C 0.168 H 337.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8F2579
RGBrgb(143, 37, 121)
HSLhsl(312, 59%, 35%)
HSVhsv(312, 74%, 56%)
CMYKcmyk(0%, 74.1%, 15.4%, 43.9%)
CIE-LABlab(35.09, 52.60, -23.52)
CIE-LCHlch(35.09, 57.61, 335.91°)
OKLaboklab(46.27% 0.1553 -0.0639)
OKLCHoklch(46.27% 0.168 337.6)
XYZxyz(15.4408, 8.5447, 18.9215)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2579 #258F3B
analogous
#70258F #8F2579 #8F2544
triadic
#8F2579 #798F25 #25798F
tetradic
#8F2579 #8F7025 #258F3B #25448F
square
#8F2579 #8F7025 #258F3B #25448F
split-complementary
#8F2579 #448F25 #258F70
monochromatic
#2E0C27 #5E1850 #8F2579 #C032A2 #D45ABB

Accessibility & contrast

On white

7.75
#8F2579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8F2579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2579
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2579#FFFFFF#000000##FFFFFF
##8F25791.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29487B
Deuteranopia (green-blind)
#4C5876
Tritanopia (blue-blind)
#972B4C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f2579;
/* rgb */ color: rgb(143, 37, 121);
/* oklch */ color: oklch(46.3% 0.168 337.6);
Tailwind
colors: {
  custom: {
    50: '#b36aa0',
    500: '#8f2579',
    950: '#000000',
  },
}
SCSS
$custom: #8f2579;
$custom-light: #b36aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2579",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 312.453,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46266,
    "c": 0.16792,
    "h": 337.6
  },
  "luminance": 0.08543
}

Semantic roles & 50–950 ramp

primary
#8F2579
secondary
#57B96B
accent
#E26646
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2579

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

Preview Lab → · Contrast checker → · Palette generator →

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