#8F295A#8F295A

#8F295A is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.3% C 0.144 H 355.0°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8F295A
RGBrgb(143, 41, 90)
HSLhsl(331, 55%, 36%)
HSVhsv(331, 71%, 56%)
CMYKcmyk(0%, 71.3%, 37.1%, 43.9%)
CIE-LABlab(34.32, 46.93, -4.98)
CIE-LCHlch(34.32, 47.20, 353.94°)
OKLaboklab(45.28% 0.1437 -0.0125)
OKLCHoklch(45.28% 0.144 355)
XYZxyz(13.9670, 8.1653, 10.5114)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F295A #298F5E
analogous
#8F298D #8F295A #8F2B29
triadic
#8F295A #5A8F29 #295A8F
tetradic
#8F295A #8D8F29 #298F5E #2B298F
square
#8F295A #8D8F29 #298F5E #2B298F
split-complementary
#8F295A #298F2B #298D8F
monochromatic
#300E1E #5F1B3C #8F295A #BF3778 #D26197

Accessibility & contrast

On white

7.98
#8F295A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8F295A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F295A
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F295A#FFFFFF#000000##FFFFFF
##8F295A1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B455B
Deuteranopia (green-blind)
#585858
Tritanopia (blue-blind)
#9A203E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f295a;
/* rgb */ color: rgb(143, 41, 90);
/* oklch */ color: oklch(45.3% 0.144 355.0);
Tailwind
colors: {
  custom: {
    50: '#b46b88',
    500: '#8f295a',
    950: '#000000',
  },
}
SCSS
$custom: #8f295a;
$custom-light: #b46b88;
$custom-dark: #000000;
JSON
{
  "hex": "#8f295a",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 90
  },
  "hsl": {
    "h": 331.176,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45281,
    "c": 0.14429,
    "h": 355
  },
  "luminance": 0.08164
}

Semantic roles & 50–950 ramp

primary
#8F295A
secondary
#5CB78C
accent
#DF9749
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8F295A

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

Preview Lab → · Contrast checker → · Palette generator →

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