#8F2A74#8F2A74

#8F2A74 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.158 H 340.4°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8F2A74
RGBrgb(143, 42, 116)
HSLhsl(316, 55%, 36%)
HSVhsv(316, 71%, 56%)
CMYKcmyk(0%, 70.6%, 18.9%, 43.9%)
CIE-LABlab(35.51, 50.00, -19.72)
CIE-LCHlch(35.51, 53.75, 338.47°)
OKLaboklab(46.5% 0.149 -0.0531)
OKLCHoklch(46.5% 0.158 340.4)
XYZxyz(15.3084, 8.7580, 17.4038)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A74 #2A8F45
analogous
#782A8F #8F2A74 #8F2A42
triadic
#8F2A74 #748F2A #2A748F
tetradic
#8F2A74 #8F782A #2A8F45 #2A428F
square
#8F2A74 #8F782A #2A8F45 #2A428F
split-complementary
#8F2A74 #428F2A #2A8F78
monochromatic
#300E27 #601C4E #8F2A74 #BE389A #D162B3

Accessibility & contrast

On white

7.63
#8F2A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2A74
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A74#FFFFFF#000000##FFFFFF
##8F2A741.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314976
Deuteranopia (green-blind)
#505972
Tritanopia (blue-blind)
#982D4B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2a74;
/* rgb */ color: rgb(143, 42, 116);
/* oklch */ color: oklch(46.5% 0.158 340.4);
Tailwind
colors: {
  custom: {
    50: '#b36c9c',
    500: '#8f2a74',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a74;
$custom-light: #b36c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a74",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 316.04,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46495,
    "c": 0.15816,
    "h": 340.4
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#8F2A74
secondary
#5EB776
accent
#DE714A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2A74

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

Preview Lab → · Contrast checker → · Palette generator →

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