#8F2A75#8F2A75

#8F2A75 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.159 H 339.9°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#8F2A75
RGBrgb(143, 42, 117)
HSLhsl(315, 55%, 36%)
HSVhsv(315, 71%, 56%)
CMYKcmyk(0%, 70.6%, 18.2%, 43.9%)
CIE-LABlab(35.56, 50.15, -20.28)
CIE-LCHlch(35.56, 54.09, 337.98°)
OKLaboklab(46.54% 0.1492 -0.0547)
OKLCHoklch(46.54% 0.159 339.9)
XYZxyz(15.3669, 8.7814, 17.7118)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A75 #2A8F44
analogous
#772A8F #8F2A75 #8F2A42
triadic
#8F2A75 #758F2A #2A758F
tetradic
#8F2A75 #8F772A #2A8F44 #2A428F
square
#8F2A75 #8F772A #2A8F44 #2A428F
split-complementary
#8F2A75 #428F2A #2A8F77
monochromatic
#300E28 #601C4E #8F2A75 #BE389C #D162B5

Accessibility & contrast

On white

7.62
#8F2A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8F2A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A75
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A75#FFFFFF#000000##FFFFFF
##8F2A751.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304977
Deuteranopia (green-blind)
#505973
Tritanopia (blue-blind)
#972D4C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f2a75;
/* rgb */ color: rgb(143, 42, 117);
/* oklch */ color: oklch(46.5% 0.159 339.9);
Tailwind
colors: {
  custom: {
    50: '#b36c9d',
    500: '#8f2a75',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a75;
$custom-light: #b36c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a75",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 315.446,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46543,
    "c": 0.15887,
    "h": 339.9
  },
  "luminance": 0.0878
}

Semantic roles & 50–950 ramp

primary
#8F2A75
secondary
#5EB775
accent
#DE704A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F2A75

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

Preview Lab → · Contrast checker → · Palette generator →

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