#8F2471#8F2471

#8F2471 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.164 H 341.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8F2471
RGBrgb(143, 36, 113)
HSLhsl(317, 60%, 35%)
HSVhsv(317, 75%, 56%)
CMYKcmyk(0%, 74.8%, 21%, 43.9%)
CIE-LABlab(34.59, 51.78, -19.26)
CIE-LCHlch(34.59, 55.24, 339.60°)
OKLaboklab(45.78% 0.1552 -0.0518)
OKLCHoklch(45.78% 0.164 341.5)
XYZxyz(14.9397, 8.2952, 16.4339)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2471 #248F42
analogous
#77248F #8F2471 #8F243C
triadic
#8F2471 #718F24 #24718F
tetradic
#8F2471 #8F7724 #248F42 #243C8F
square
#8F2471 #8F7724 #248F42 #243C8F
split-complementary
#8F2471 #3C8F24 #248F77
monochromatic
#2D0B24 #5E184A #8F2471 #C03098 #D558B2

Accessibility & contrast

On white

7.90
#8F2471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8F2471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2471
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2471#FFFFFF#000000##FFFFFF
##8F24711.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#4F586F
Tritanopia (blue-blind)
#982647
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f2471;
/* rgb */ color: rgb(143, 36, 113);
/* oklch */ color: oklch(45.8% 0.164 341.5);
Tailwind
colors: {
  custom: {
    50: '#b36a9a',
    500: '#8f2471',
    950: '#000000',
  },
}
SCSS
$custom: #8f2471;
$custom-light: #b36a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2471",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 316.822,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45778,
    "c": 0.16359,
    "h": 341.5
  },
  "luminance": 0.08294
}

Semantic roles & 50–950 ramp

primary
#8F2471
secondary
#55B971
accent
#E37145
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2471

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

Preview Lab → · Contrast checker → · Palette generator →

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