#8F2A5B#8F2A5B

#8F2A5B is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.4% C 0.143 H 354.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8F2A5B
RGBrgb(143, 42, 91)
HSLhsl(331, 55%, 36%)
HSVhsv(331, 71%, 56%)
CMYKcmyk(0%, 70.6%, 36.4%, 43.9%)
CIE-LABlab(34.50, 46.65, -5.36)
CIE-LCHlch(34.50, 46.96, 353.45°)
OKLaboklab(45.42% 0.1428 -0.0136)
OKLCHoklch(45.42% 0.143 354.6)
XYZxyz(14.0448, 8.2525, 10.7488)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A5B #2A8F5E
analogous
#8F2A8E #8F2A5B #8F2C2A
triadic
#8F2A5B #5B8F2A #2A5B8F
tetradic
#8F2A5B #8E8F2A #2A8F5E #2C2A8F
square
#8F2A5B #8E8F2A #2A8F5E #2C2A8F
split-complementary
#8F2A5B #2A8F2C #2A8E8F
monochromatic
#300E1F #601C3D #8F2A5B #BE3879 #D16298

Accessibility & contrast

On white

7.92
#8F2A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8F2A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A5B
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A5B#FFFFFF#000000##FFFFFF
##8F2A5B1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C455C
Deuteranopia (green-blind)
#585859
Tritanopia (blue-blind)
#9A213F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f2a5b;
/* rgb */ color: rgb(143, 42, 91);
/* oklch */ color: oklch(45.4% 0.143 354.6);
Tailwind
colors: {
  custom: {
    50: '#b46c89',
    500: '#8f2a5b',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a5b;
$custom-light: #b46c89;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a5b",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 330.891,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45424,
    "c": 0.14344,
    "h": 354.6
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#8F2A5B
secondary
#5EB78C
accent
#DE964A
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8F2A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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