#8F2A73#8F2A73

#8F2A73 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.157 H 340.9°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8F2A73
RGBrgb(143, 42, 115)
HSLhsl(317, 55%, 36%)
HSVhsv(317, 71%, 56%)
CMYKcmyk(0%, 70.6%, 19.6%, 43.9%)
CIE-LABlab(35.47, 49.85, -19.16)
CIE-LCHlch(35.47, 53.41, 338.97°)
OKLaboklab(46.45% 0.1488 -0.0516)
OKLCHoklch(46.45% 0.157 340.9)
XYZxyz(15.2506, 8.7348, 17.0991)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A73 #2A8F46
analogous
#792A8F #8F2A73 #8F2A41
triadic
#8F2A73 #738F2A #2A738F
tetradic
#8F2A73 #8F792A #2A8F46 #2A418F
square
#8F2A73 #8F792A #2A8F46 #2A418F
split-complementary
#8F2A73 #418F2A #2A8F79
monochromatic
#300E27 #601C4D #8F2A73 #BE3899 #D162B2

Accessibility & contrast

On white

7.65
#8F2A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8F2A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A73
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A73#FFFFFF#000000##FFFFFF
##8F2A731.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314975
Deuteranopia (green-blind)
#515971
Tritanopia (blue-blind)
#982C4A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2a73;
/* rgb */ color: rgb(143, 42, 115);
/* oklch */ color: oklch(46.4% 0.157 340.9);
Tailwind
colors: {
  custom: {
    50: '#b36c9b',
    500: '#8f2a73',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a73;
$custom-light: #b36c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a73",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 316.634,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46447,
    "c": 0.15748,
    "h": 340.9
  },
  "luminance": 0.08733
}

Semantic roles & 50–950 ramp

primary
#8F2A73
secondary
#5EB777
accent
#DE734A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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