#8F2A72#8F2A72

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

Color values

HEX#8F2A72
RGBrgb(143, 42, 114)
HSLhsl(317, 55%, 36%)
HSVhsv(317, 71%, 56%)
CMYKcmyk(0%, 70.6%, 20.3%, 43.9%)
CIE-LABlab(35.42, 49.70, -18.60)
CIE-LCHlch(35.42, 53.07, 339.48°)
OKLaboklab(46.4% 0.1486 -0.05)
OKLCHoklch(46.4% 0.157 341.4)
XYZxyz(15.1934, 8.7119, 16.7977)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A72 #2A8F47
analogous
#7A2A8F #8F2A72 #8F2A40
triadic
#8F2A72 #728F2A #2A728F
tetradic
#8F2A72 #8F7A2A #2A8F47 #2A408F
square
#8F2A72 #8F7A2A #2A8F47 #2A408F
split-complementary
#8F2A72 #408F2A #2A8F7A
monochromatic
#300E27 #601C4C #8F2A72 #BE3898 #D162B1

Accessibility & contrast

On white

7.66
#8F2A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8F2A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A72
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A72#FFFFFF#000000##FFFFFF
##8F2A721.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f2a72;
/* rgb */ color: rgb(143, 42, 114);
/* oklch */ color: oklch(46.4% 0.157 341.4);
Tailwind
colors: {
  custom: {
    50: '#b36c9a',
    500: '#8f2a72',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a72;
$custom-light: #b36c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a72",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 317.228,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46399,
    "c": 0.15679,
    "h": 341.4
  },
  "luminance": 0.0871
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F2A72

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

Preview Lab → · Contrast checker → · Palette generator →

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