#8F2979#8F2979

#8F2979 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.163 H 337.8°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8F2979
RGBrgb(143, 41, 121)
HSLhsl(313, 55%, 36%)
HSVhsv(313, 71%, 56%)
CMYKcmyk(0%, 71.3%, 15.4%, 43.9%)
CIE-LABlab(35.61, 51.13, -22.71)
CIE-LCHlch(35.61, 55.95, 336.05°)
OKLaboklab(46.64% 0.1509 -0.0616)
OKLCHoklch(46.64% 0.163 337.8)
XYZxyz(15.5721, 8.8074, 18.9653)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2979 #298F3F
analogous
#72298F #8F2979 #8F2946
triadic
#8F2979 #798F29 #29798F
tetradic
#8F2979 #8F7229 #298F3F #29468F
square
#8F2979 #8F7229 #298F3F #29468F
split-complementary
#8F2979 #468F29 #298F72
monochromatic
#300E29 #5F1B51 #8F2979 #BF37A1 #D261B9

Accessibility & contrast

On white

7.61
#8F2979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8F2979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2979
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2979#FFFFFF#000000##FFFFFF
##8F29791.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7B
Deuteranopia (green-blind)
#4E5977
Tritanopia (blue-blind)
#972E4D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f2979;
/* rgb */ color: rgb(143, 41, 121);
/* oklch */ color: oklch(46.6% 0.163 337.8);
Tailwind
colors: {
  custom: {
    50: '#b36ca0',
    500: '#8f2979',
    950: '#000000',
  },
}
SCSS
$custom: #8f2979;
$custom-light: #b36ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2979",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 312.941,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46641,
    "c": 0.163,
    "h": 337.8
  },
  "luminance": 0.08806
}

Semantic roles & 50–950 ramp

primary
#8F2979
secondary
#5CB770
accent
#DF6949
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2979

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

Preview Lab → · Contrast checker → · Palette generator →

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