#8F2170#8F2170

#8F2170 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.166 H 341.9°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8F2170
RGBrgb(143, 33, 112)
HSLhsl(317, 63%, 35%)
HSVhsv(317, 77%, 56%)
CMYKcmyk(0%, 76.9%, 21.7%, 43.9%)
CIE-LABlab(34.19, 52.65, -19.25)
CIE-LCHlch(34.19, 56.06, 339.92°)
OKLaboklab(45.47% 0.1581 -0.0517)
OKLCHoklch(45.47% 0.166 341.9)
XYZxyz(14.7967, 8.0987, 16.1100)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2170 #218F40
analogous
#77218F #8F2170 #8F2139
triadic
#8F2170 #708F21 #21708F
tetradic
#8F2170 #8F7721 #218F40 #21398F
square
#8F2170 #8F7721 #218F40 #21398F
split-complementary
#8F2170 #398F21 #218F77
monochromatic
#2C0A22 #5D1649 #8F2170 #C12C97 #D753B2

Accessibility & contrast

On white

8.02
#8F2170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8F2170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2170
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2170#FFFFFF#000000##FFFFFF
##8F21701.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4572
Deuteranopia (green-blind)
#4E576D
Tritanopia (blue-blind)
#982346
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f2170;
/* rgb */ color: rgb(143, 33, 112);
/* oklch */ color: oklch(45.5% 0.166 341.9);
Tailwind
colors: {
  custom: {
    50: '#b46899',
    500: '#8f2170',
    950: '#000000',
  },
}
SCSS
$custom: #8f2170;
$custom-light: #b46899;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2170",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 316.909,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45472,
    "c": 0.16635,
    "h": 341.9
  },
  "luminance": 0.08097
}

Semantic roles & 50–950 ramp

primary
#8F2170
secondary
#51BB6F
accent
#E67042
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2170

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

Preview Lab → · Contrast checker → · Palette generator →

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