#8F2A79#8F2A79

#8F2A79 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.162 H 337.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8F2A79
RGBrgb(143, 42, 121)
HSLhsl(313, 55%, 36%)
HSVhsv(313, 71%, 56%)
CMYKcmyk(0%, 70.6%, 15.4%, 43.9%)
CIE-LABlab(35.75, 50.75, -22.50)
CIE-LCHlch(35.75, 55.51, 336.09°)
OKLaboklab(46.74% 0.1498 -0.061)
OKLCHoklch(46.74% 0.162 337.8)
XYZxyz(15.6071, 8.8775, 18.9770)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A79 #2A8F40
analogous
#732A8F #8F2A79 #8F2A47
triadic
#8F2A79 #798F2A #2A798F
tetradic
#8F2A79 #8F732A #2A8F40 #2A478F
square
#8F2A79 #8F732A #2A8F40 #2A478F
split-complementary
#8F2A79 #478F2A #2A8F73
monochromatic
#300E29 #601C51 #8F2A79 #BE38A1 #D162B9

Accessibility & contrast

On white

7.57
#8F2A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8F2A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A79
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A79#FFFFFF#000000##FFFFFF
##8F2A791.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#4F5A77
Tritanopia (blue-blind)
#972F4E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f2a79;
/* rgb */ color: rgb(143, 42, 121);
/* oklch */ color: oklch(46.7% 0.162 337.8);
Tailwind
colors: {
  custom: {
    50: '#b36da0',
    500: '#8f2a79',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a79;
$custom-light: #b36da0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a79",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 313.069,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4674,
    "c": 0.16173,
    "h": 337.8
  },
  "luminance": 0.08876
}

Semantic roles & 50–950 ramp

primary
#8F2A79
secondary
#5EB771
accent
#DE6A4A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2A79

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

Preview Lab → · Contrast checker → · Palette generator →

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