#8F2A5D#8F2A5D

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

Color values

HEX#8F2A5D
RGBrgb(143, 42, 93)
HSLhsl(330, 55%, 36%)
HSVhsv(330, 71%, 56%)
CMYKcmyk(0%, 70.6%, 35%, 43.9%)
CIE-LABlab(34.57, 46.89, -6.54)
CIE-LCHlch(34.57, 47.35, 352.06°)
OKLaboklab(45.5% 0.1434 -0.0167)
OKLCHoklch(45.5% 0.144 353.4)
XYZxyz(14.1323, 8.2875, 11.2092)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A5D #2A8F5C
analogous
#8F2A8F #8F2A5D #8F2A2B
triadic
#8F2A5D #5D8F2A #2A5D8F
tetradic
#8F2A5D #8F8F2A #2A8F5C #2A2B8F
square
#8F2A5D #8F8F2A #2A8F5C #2A2B8F
split-complementary
#8F2A5D #2B8F2A #2A8F8F
monochromatic
#300E1F #601C3E #8F2A5D #BE387C #D1629A

Accessibility & contrast

On white

7.90
#8F2A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F2A5D
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A5D#FFFFFF#000000##FFFFFF
##8F2A5D1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B465E
Deuteranopia (green-blind)
#57585B
Tritanopia (blue-blind)
#9A2240
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f2a5d;
/* rgb */ color: rgb(143, 42, 93);
/* oklch */ color: oklch(45.5% 0.144 353.4);
Tailwind
colors: {
  custom: {
    50: '#b46c8a',
    500: '#8f2a5d',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a5d;
$custom-light: #b46c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a5d",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 93
  },
  "hsl": {
    "h": 329.703,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.455,
    "c": 0.14439,
    "h": 353.4
  },
  "luminance": 0.08286
}

Semantic roles & 50–950 ramp

primary
#8F2A5D
secondary
#5EB78A
accent
#DE934A
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8F2A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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