#8F2B5D#8F2B5D

#8F2B5D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.6% C 0.143 H 353.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8F2B5D
RGBrgb(143, 43, 93)
HSLhsl(330, 54%, 36%)
HSVhsv(330, 70%, 56%)
CMYKcmyk(0%, 69.9%, 35%, 43.9%)
CIE-LABlab(34.72, 46.49, -6.32)
CIE-LCHlch(34.72, 46.92, 352.26°)
OKLaboklab(45.61% 0.1422 -0.0161)
OKLCHoklch(45.61% 0.143 353.5)
XYZxyz(14.1682, 8.3593, 11.2212)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2B5D #2B8F5D
analogous
#8F2B8F #8F2B5D #8F2B2B
triadic
#8F2B5D #5D8F2B #2B5D8F
tetradic
#8F2B5D #8F8F2B #2B8F5D #2B2B8F
square
#8F2B5D #8F8F2B #2B8F5D #2B2B8F
split-complementary
#8F2B5D #2B8F2B #2B8F8F
monochromatic
#310F20 #601D3E #8F2B5D #BE397C #D0649A

Accessibility & contrast

On white

7.86
#8F2B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8F2B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2B5D
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2B5D#FFFFFF#000000##FFFFFF
##8F2B5D1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465E
Deuteranopia (green-blind)
#58585B
Tritanopia (blue-blind)
#9A2340
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f2b5d;
/* rgb */ color: rgb(143, 43, 93);
/* oklch */ color: oklch(45.6% 0.143 353.5);
Tailwind
colors: {
  custom: {
    50: '#b46c8a',
    500: '#8f2b5d',
    950: '#000000',
  },
}
SCSS
$custom: #8f2b5d;
$custom-light: #b46c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2b5d",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 93
  },
  "hsl": {
    "h": 330,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45607,
    "c": 0.14307,
    "h": 353.5
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#8F2B5D
secondary
#5FB78B
accent
#DD944B
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8F2B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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