#8F3A71#8F3A71

#8F3A71 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.2% C 0.132 H 343.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8F3A71
RGBrgb(143, 58, 113)
HSLhsl(321, 42%, 39%)
HSVhsv(321, 59%, 56%)
CMYKcmyk(0%, 59.4%, 21%, 43.9%)
CIE-LABlab(37.95, 42.51, -14.10)
CIE-LCHlch(37.95, 44.79, 341.65°)
OKLaboklab(48.24% 0.1271 -0.0375)
OKLCHoklch(48.24% 0.132 343.5)
XYZxyz(15.8218, 10.0594, 16.7280)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3A71 #3A8F58
analogous
#833A8F #8F3A71 #8F3A47
triadic
#8F3A71 #718F3A #3A718F
tetradic
#8F3A71 #8F833A #3A8F58 #3A478F
square
#8F3A71 #8F833A #3A8F58 #3A478F
split-complementary
#8F3A71 #478F3A #3A8F83
monochromatic
#38172C #63284F #8F3A71 #B74F93 #C97AAD

Accessibility & contrast

On white

6.97
#8F3A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8F3A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3A71
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3A71#FFFFFF#000000##FFFFFF
##8F3A711.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415073
Deuteranopia (green-blind)
#595F6F
Tritanopia (blue-blind)
#983A50
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f3a71;
/* rgb */ color: rgb(143, 58, 113);
/* oklch */ color: oklch(48.2% 0.132 343.5);
Tailwind
colors: {
  custom: {
    50: '#b2759a',
    500: '#8f3a71',
    950: '#000000',
  },
}
SCSS
$custom: #8f3a71;
$custom-light: #b2759a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3a71",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 113
  },
  "hsl": {
    "h": 321.176,
    "s": 42.289,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4824,
    "c": 0.13248,
    "h": 343.5
  },
  "luminance": 0.10058
}

Semantic roles & 50–950 ramp

primary
#8F3A71
secondary
#72B389
accent
#D28256
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8F3A71

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

Preview Lab → · Contrast checker → · Palette generator →

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