#8F2E5D#8F2E5D

#8F2E5D is a mid, vivid pink. Relative luminance 0.086; OKLCH L 45.9% C 0.139 H 354.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8F2E5D
RGBrgb(143, 46, 93)
HSLhsl(331, 51%, 37%)
HSVhsv(331, 68%, 56%)
CMYKcmyk(0%, 67.8%, 35%, 43.9%)
CIE-LABlab(35.17, 45.24, -5.64)
CIE-LCHlch(35.17, 45.59, 352.89°)
OKLaboklab(45.94% 0.1382 -0.0143)
OKLCHoklch(45.94% 0.139 354.1)
XYZxyz(14.2813, 8.5855, 11.2589)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E5D #2E8F60
analogous
#8F2E8E #8F2E5D #8F302E
triadic
#8F2E5D #5D8F2E #2E5D8F
tetradic
#8F2E5D #8E8F2E #2E8F60 #302E8F
square
#8F2E5D #8E8F2E #2E8F60 #302E8F
split-complementary
#8F2E5D #2E8F30 #2E8E8F
monochromatic
#321021 #611F3F #8F2E5D #BD3D7B #CF699A

Accessibility & contrast

On white

7.73
#8F2E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8F2E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E5D
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E5D#FFFFFF#000000##FFFFFF
##8F2E5D1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475E
Deuteranopia (green-blind)
#59595B
Tritanopia (blue-blind)
#9A2741
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2e5d;
/* rgb */ color: rgb(143, 46, 93);
/* oklch */ color: oklch(45.9% 0.139 354.1);
Tailwind
colors: {
  custom: {
    50: '#b36e8a',
    500: '#8f2e5d',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e5d;
$custom-light: #b36e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e5d",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 330.928,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45941,
    "c": 0.13897,
    "h": 354.1
  },
  "luminance": 0.08584
}

Semantic roles & 50–950 ramp

primary
#8F2E5D
secondary
#63B68E
accent
#DB964D
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8F2E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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