#8F2572#8F2572

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

Color values

HEX#8F2572
RGBrgb(143, 37, 114)
HSLhsl(316, 59%, 35%)
HSVhsv(316, 74%, 56%)
CMYKcmyk(0%, 74.1%, 20.3%, 43.9%)
CIE-LABlab(34.76, 51.57, -19.63)
CIE-LCHlch(34.76, 55.18, 339.16°)
OKLaboklab(45.92% 0.1543 -0.0528)
OKLCHoklch(45.92% 0.163 341.1)
XYZxyz(15.0270, 8.3792, 16.7423)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2572 #258F42
analogous
#77258F #8F2572 #8F253D
triadic
#8F2572 #728F25 #25728F
tetradic
#8F2572 #8F7725 #258F42 #253D8F
square
#8F2572 #8F7725 #258F42 #253D8F
split-complementary
#8F2572 #3D8F25 #258F77
monochromatic
#2E0C24 #5E184B #8F2572 #C03299 #D45AB3

Accessibility & contrast

On white

7.85
#8F2572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8F2572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2572
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2572#FFFFFF#000000##FFFFFF
##8F25721.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f2572;
/* rgb */ color: rgb(143, 37, 114);
/* oklch */ color: oklch(45.9% 0.163 341.1);
Tailwind
colors: {
  custom: {
    50: '#b36a9a',
    500: '#8f2572',
    950: '#000000',
  },
}
SCSS
$custom: #8f2572;
$custom-light: #b36a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2572",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 114
  },
  "hsl": {
    "h": 316.415,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45917,
    "c": 0.16307,
    "h": 341.1
  },
  "luminance": 0.08378
}

Semantic roles & 50–950 ramp

primary
#8F2572
secondary
#57B972
accent
#E27046
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2572

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

Preview Lab → · Contrast checker → · Palette generator →

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