#8F285A#8F285A

#8F285A is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.2% C 0.146 H 354.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8F285A
RGBrgb(143, 40, 90)
HSLhsl(331, 56%, 36%)
HSVhsv(331, 72%, 56%)
CMYKcmyk(0%, 72%, 37.1%, 43.9%)
CIE-LABlab(34.18, 47.32, -5.19)
CIE-LCHlch(34.18, 47.61, 353.74°)
OKLaboklab(45.18% 0.145 -0.0131)
OKLCHoklch(45.18% 0.146 354.8)
XYZxyz(13.9328, 8.0971, 10.5000)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F285A #288F5D
analogous
#8F288D #8F285A #8F2A28
triadic
#8F285A #5A8F28 #285A8F
tetradic
#8F285A #8D8F28 #288F5D #2A288F
square
#8F285A #8D8F28 #288F5D #2A288F
split-complementary
#8F285A #288F2A #288D8F
monochromatic
#2F0D1E #5F1B3C #8F285A #BF3578 #D25F97

Accessibility & contrast

On white

8.02
#8F285A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8F285A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F285A
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F285A#FFFFFF#000000##FFFFFF
##8F285A1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B445B
Deuteranopia (green-blind)
#575758
Tritanopia (blue-blind)
#9A1E3D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f285a;
/* rgb */ color: rgb(143, 40, 90);
/* oklch */ color: oklch(45.2% 0.146 354.8);
Tailwind
colors: {
  custom: {
    50: '#b46b88',
    500: '#8f285a',
    950: '#000000',
  },
}
SCSS
$custom: #8f285a;
$custom-light: #b46b88;
$custom-dark: #000000;
JSON
{
  "hex": "#8f285a",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 330.874,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45177,
    "c": 0.14557,
    "h": 354.8
  },
  "luminance": 0.08095
}

Semantic roles & 50–950 ramp

primary
#8F285A
secondary
#5BB88B
accent
#E09648
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8F285A

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

Preview Lab → · Contrast checker → · Palette generator →

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