#8F2173#8F2173

#8F2173 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.168 H 340.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8F2173
RGBrgb(143, 33, 115)
HSLhsl(315, 63%, 35%)
HSVhsv(315, 77%, 56%)
CMYKcmyk(0%, 76.9%, 19.6%, 43.9%)
CIE-LABlab(34.33, 53.07, -20.93)
CIE-LCHlch(34.33, 57.05, 338.48°)
OKLaboklab(45.62% 0.1586 -0.0565)
OKLCHoklch(45.62% 0.168 340.4)
XYZxyz(14.9665, 8.1667, 17.0044)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2173 #218F3D
analogous
#74218F #8F2173 #8F213C
triadic
#8F2173 #738F21 #21738F
tetradic
#8F2173 #8F7421 #218F3D #213C8F
square
#8F2173 #8F7421 #218F3D #213C8F
split-complementary
#8F2173 #3C8F21 #218F74
monochromatic
#2C0A23 #5D164B #8F2173 #C12C9B #D753B6

Accessibility & contrast

On white

7.98
#8F2173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8F2173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2173
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2173#FFFFFF#000000##FFFFFF
##8F21731.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4675
Deuteranopia (green-blind)
#4D5770
Tritanopia (blue-blind)
#982448
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f2173;
/* rgb */ color: rgb(143, 33, 115);
/* oklch */ color: oklch(45.6% 0.168 340.4);
Tailwind
colors: {
  custom: {
    50: '#b3689b',
    500: '#8f2173',
    950: '#000000',
  },
}
SCSS
$custom: #8f2173;
$custom-light: #b3689b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2173",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 315.273,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45619,
    "c": 0.16833,
    "h": 340.4
  },
  "luminance": 0.08165
}

Semantic roles & 50–950 ramp

primary
#8F2173
secondary
#51BB6C
accent
#E66C42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2173

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

Preview Lab → · Contrast checker → · Palette generator →

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