#8F2A5E#8F2A5E

#8F2A5E is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.5% C 0.145 H 352.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8F2A5E
RGBrgb(143, 42, 94)
HSLhsl(329, 55%, 36%)
HSVhsv(329, 71%, 56%)
CMYKcmyk(0%, 70.6%, 34.3%, 43.9%)
CIE-LABlab(34.61, 47.02, -7.12)
CIE-LCHlch(34.61, 47.55, 351.38°)
OKLaboklab(45.54% 0.1437 -0.0183)
OKLCHoklch(45.54% 0.145 352.7)
XYZxyz(14.1768, 8.3053, 11.4440)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A5E #2A8F5B
analogous
#8E2A8F #8F2A5E #8F2A2C
triadic
#8F2A5E #5E8F2A #2A5E8F
tetradic
#8F2A5E #8F8E2A #2A8F5B #2A2C8F
square
#8F2A5E #8F8E2A #2A8F5B #2A2C8F
split-complementary
#8F2A5E #2C8F2A #2A8F8E
monochromatic
#300E20 #601C3F #8F2A5E #BE387D #D1629B

Accessibility & contrast

On white

7.89
#8F2A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8F2A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A5E
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A5E#FFFFFF#000000##FFFFFF
##8F2A5E1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B465F
Deuteranopia (green-blind)
#57585C
Tritanopia (blue-blind)
#9A2340
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f2a5e;
/* rgb */ color: rgb(143, 42, 94);
/* oklch */ color: oklch(45.5% 0.145 352.7);
Tailwind
colors: {
  custom: {
    50: '#b46c8b',
    500: '#8f2a5e',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a5e;
$custom-light: #b46c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a5e",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 329.109,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45538,
    "c": 0.14489,
    "h": 352.7
  },
  "luminance": 0.08304
}

Semantic roles & 50–950 ramp

primary
#8F2A5E
secondary
#5EB789
accent
#DE924A
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8F2A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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