#8F2174#8F2174

#8F2174 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.169 H 339.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8F2174
RGBrgb(143, 33, 116)
HSLhsl(315, 63%, 35%)
HSVhsv(315, 77%, 56%)
CMYKcmyk(0%, 76.9%, 18.9%, 43.9%)
CIE-LABlab(34.38, 53.21, -21.49)
CIE-LCHlch(34.38, 57.39, 338.01°)
OKLaboklab(45.67% 0.1587 -0.0581)
OKLCHoklch(45.67% 0.169 339.9)
XYZxyz(15.0244, 8.1898, 17.3091)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2174 #218F3C
analogous
#73218F #8F2174 #8F213D
triadic
#8F2174 #748F21 #21748F
tetradic
#8F2174 #8F7321 #218F3C #213D8F
square
#8F2174 #8F7321 #218F3C #213D8F
split-complementary
#8F2174 #3D8F21 #218F73
monochromatic
#2C0A23 #5D164C #8F2174 #C12C9C #D753B7

Accessibility & contrast

On white

7.96
#8F2174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8F2174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2174
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2174#FFFFFF#000000##FFFFFF
##8F21741.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294676
Deuteranopia (green-blind)
#4D5771
Tritanopia (blue-blind)
#982548
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f2174;
/* rgb */ color: rgb(143, 33, 116);
/* oklch */ color: oklch(45.7% 0.169 339.9);
Tailwind
colors: {
  custom: {
    50: '#b3689c',
    500: '#8f2174',
    950: '#000000',
  },
}
SCSS
$custom: #8f2174;
$custom-light: #b3689c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2174",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 314.727,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45668,
    "c": 0.16901,
    "h": 339.9
  },
  "luminance": 0.08188
}

Semantic roles & 50–950 ramp

primary
#8F2174
secondary
#51BB6B
accent
#E66A42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2174

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

Preview Lab → · Contrast checker → · Palette generator →

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