#8F2571#8F2571

#8F2571 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.162 H 341.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8F2571
RGBrgb(143, 37, 113)
HSLhsl(317, 59%, 35%)
HSVhsv(317, 74%, 56%)
CMYKcmyk(0%, 74.1%, 21%, 43.9%)
CIE-LABlab(34.71, 51.43, -19.07)
CIE-LCHlch(34.71, 54.85, 339.66°)
OKLaboklab(45.87% 0.1541 -0.0512)
OKLCHoklch(45.87% 0.162 341.6)
XYZxyz(14.9704, 8.3565, 16.4441)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2571 #258F43
analogous
#78258F #8F2571 #8F253C
triadic
#8F2571 #718F25 #25718F
tetradic
#8F2571 #8F7825 #258F43 #253C8F
square
#8F2571 #8F7825 #258F43 #253C8F
split-complementary
#8F2571 #3C8F25 #258F78
monochromatic
#2E0C24 #5E184B #8F2571 #C03297 #D45AB2

Accessibility & contrast

On white

7.86
#8F2571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8F2571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2571
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2571#FFFFFF#000000##FFFFFF
##8F25711.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4773
Deuteranopia (green-blind)
#4F586F
Tritanopia (blue-blind)
#982748
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f2571;
/* rgb */ color: rgb(143, 37, 113);
/* oklch */ color: oklch(45.9% 0.162 341.6);
Tailwind
colors: {
  custom: {
    50: '#b36a9a',
    500: '#8f2571',
    950: '#000000',
  },
}
SCSS
$custom: #8f2571;
$custom-light: #b36a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2571",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 316.981,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45869,
    "c": 0.16241,
    "h": 341.6
  },
  "luminance": 0.08355
}

Semantic roles & 50–950 ramp

primary
#8F2571
secondary
#57B973
accent
#E27246
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2571

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

Preview Lab → · Contrast checker → · Palette generator →

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