#8F2A5F#8F2A5F

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

Color values

HEX#8F2A5F
RGBrgb(143, 42, 95)
HSLhsl(329, 55%, 36%)
HSVhsv(329, 71%, 56%)
CMYKcmyk(0%, 70.6%, 33.6%, 43.9%)
CIE-LABlab(34.65, 47.14, -7.71)
CIE-LCHlch(34.65, 47.77, 350.71°)
OKLaboklab(45.58% 0.144 -0.0199)
OKLCHoklch(45.58% 0.145 352.1)
XYZxyz(14.2220, 8.3234, 11.6819)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A5F #2A8F5A
analogous
#8D2A8F #8F2A5F #8F2A2C
triadic
#8F2A5F #5F8F2A #2A5F8F
tetradic
#8F2A5F #8F8D2A #2A8F5A #2A2C8F
square
#8F2A5F #8F8D2A #2A8F5A #2A2C8F
split-complementary
#8F2A5F #2C8F2A #2A8F8D
monochromatic
#300E20 #601C40 #8F2A5F #BE387E #D1629C

Accessibility & contrast

On white

7.88
#8F2A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2A5F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A5F#FFFFFF#000000##FFFFFF
##8F2A5F1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4660
Deuteranopia (green-blind)
#57585D
Tritanopia (blue-blind)
#9A2341
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f2a5f;
/* rgb */ color: rgb(143, 42, 95);
/* oklch */ color: oklch(45.6% 0.145 352.1);
Tailwind
colors: {
  custom: {
    50: '#b46c8c',
    500: '#8f2a5f',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a5f;
$custom-light: #b46c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a5f",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 328.515,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45577,
    "c": 0.14539,
    "h": 352.1
  },
  "luminance": 0.08322
}

Semantic roles & 50–950 ramp

primary
#8F2A5F
secondary
#5EB788
accent
#DE904A
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8F2A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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