#8F2279#8F2279

#8F2279 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.171 H 337.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8F2279
RGBrgb(143, 34, 121)
HSLhsl(312, 62%, 35%)
HSVhsv(312, 76%, 56%)
CMYKcmyk(0%, 76.2%, 15.4%, 43.9%)
CIE-LABlab(34.73, 53.62, -24.08)
CIE-LCHlch(34.73, 58.78, 335.82°)
OKLaboklab(46.01% 0.1584 -0.0654)
OKLCHoklch(46.01% 0.171 337.5)
XYZxyz(15.3512, 8.3656, 18.8917)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2279 #228F38
analogous
#6F228F #8F2279 #8F2243
triadic
#8F2279 #798F22 #22798F
tetradic
#8F2279 #8F6F22 #228F38 #22438F
square
#8F2279 #8F6F22 #228F38 #22438F
split-complementary
#8F2279 #438F22 #228F6F
monochromatic
#2C0A25 #5E164F #8F2279 #C02EA3 #D755BC

Accessibility & contrast

On white

7.86
#8F2279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8F2279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2279
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2279#FFFFFF#000000##FFFFFF
##8F22791.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26477B
Deuteranopia (green-blind)
#4B5876
Tritanopia (blue-blind)
#97284B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f2279;
/* rgb */ color: rgb(143, 34, 121);
/* oklch */ color: oklch(46.0% 0.171 337.5);
Tailwind
colors: {
  custom: {
    50: '#b369a0',
    500: '#8f2279',
    950: '#000000',
  },
}
SCSS
$custom: #8f2279;
$custom-light: #b369a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2279",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 312.11,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46006,
    "c": 0.17135,
    "h": 337.5
  },
  "luminance": 0.08364
}

Semantic roles & 50–950 ramp

primary
#8F2279
secondary
#52BA67
accent
#E56443
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2279

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

Preview Lab → · Contrast checker → · Palette generator →

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