#8F2E7B#8F2E7B

#8F2E7B is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.158 H 337.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8F2E7B
RGBrgb(143, 46, 123)
HSLhsl(312, 51%, 37%)
HSVhsv(312, 68%, 56%)
CMYKcmyk(0%, 67.8%, 14%, 43.9%)
CIE-LABlab(36.41, 49.46, -22.71)
CIE-LCHlch(36.41, 54.43, 335.34°)
OKLaboklab(47.26% 0.1453 -0.0616)
OKLCHoklch(47.26% 0.158 337)
XYZxyz(15.8801, 9.2251, 19.6793)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E7B #2E8F42
analogous
#732E8F #8F2E7B #8F2E4B
triadic
#8F2E7B #7B8F2E #2E7B8F
tetradic
#8F2E7B #8F732E #2E8F42 #2E4B8F
square
#8F2E7B #8F732E #2E8F42 #2E4B8F
split-complementary
#8F2E7B #4B8F2E #2E8F73
monochromatic
#32102B #611F53 #8F2E7B #BD3DA3 #CF69BA

Accessibility & contrast

On white

7.38
#8F2E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8F2E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E7B
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E7B#FFFFFF#000000##FFFFFF
##8F2E7B1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7D
Deuteranopia (green-blind)
#505B79
Tritanopia (blue-blind)
#973350
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2e7b;
/* rgb */ color: rgb(143, 46, 123);
/* oklch */ color: oklch(47.3% 0.158 337.0);
Tailwind
colors: {
  custom: {
    50: '#b36fa1',
    500: '#8f2e7b',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e7b;
$custom-light: #b36fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e7b",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 312.371,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47256,
    "c": 0.15784,
    "h": 337
  },
  "luminance": 0.09224
}

Semantic roles & 50–950 ramp

primary
#8F2E7B
secondary
#63B674
accent
#DB6A4D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #8F2E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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