#8F2E75#8F2E75

#8F2E75 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.0% C 0.153 H 340.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8F2E75
RGBrgb(143, 46, 117)
HSLhsl(316, 51%, 37%)
HSVhsv(316, 68%, 56%)
CMYKcmyk(0%, 67.8%, 18.2%, 43.9%)
CIE-LABlab(36.14, 48.54, -19.39)
CIE-LCHlch(36.14, 52.27, 338.23°)
OKLaboklab(46.96% 0.1443 -0.0522)
OKLCHoklch(46.96% 0.153 340.1)
XYZxyz(15.5159, 9.0794, 17.7615)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E75 #2E8F48
analogous
#782E8F #8F2E75 #8F2E45
triadic
#8F2E75 #758F2E #2E758F
tetradic
#8F2E75 #8F782E #2E8F48 #2E458F
square
#8F2E75 #8F782E #2E8F48 #2E458F
split-complementary
#8F2E75 #458F2E #2E8F78
monochromatic
#321029 #611F4F #8F2E75 #BD3D9B #CF69B3

Accessibility & contrast

On white

7.46
#8F2E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8F2E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E75
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E75#FFFFFF#000000##FFFFFF
##8F2E751.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344B77
Deuteranopia (green-blind)
#525B73
Tritanopia (blue-blind)
#97314D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2e75;
/* rgb */ color: rgb(143, 46, 117);
/* oklch */ color: oklch(47.0% 0.153 340.1);
Tailwind
colors: {
  custom: {
    50: '#b36e9d',
    500: '#8f2e75',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e75;
$custom-light: #b36e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e75",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 316.082,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46964,
    "c": 0.15345,
    "h": 340.1
  },
  "luminance": 0.09078
}

Semantic roles & 50–950 ramp

primary
#8F2E75
secondary
#63B679
accent
#DB734D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8F2E75

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

Preview Lab → · Contrast checker → · Palette generator →

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