#8F285F#8F285F

#8F285F is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.148 H 351.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8F285F
RGBrgb(143, 40, 95)
HSLhsl(328, 56%, 36%)
HSVhsv(328, 72%, 56%)
CMYKcmyk(0%, 72%, 33.6%, 43.9%)
CIE-LABlab(34.37, 47.92, -8.13)
CIE-LCHlch(34.37, 48.61, 350.37°)
OKLaboklab(45.37% 0.1465 -0.021)
OKLCHoklch(45.37% 0.148 351.8)
XYZxyz(14.1528, 8.1851, 11.6588)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F285F #288F58
analogous
#8B288F #8F285F #8F282B
triadic
#8F285F #5F8F28 #285F8F
tetradic
#8F285F #8F8B28 #288F58 #282B8F
square
#8F285F #8F8B28 #288F58 #282B8F
split-complementary
#8F285F #2B8F28 #288F8B
monochromatic
#2F0D1F #5F1B3F #8F285F #BF357F #D25F9D

Accessibility & contrast

On white

7.96
#8F285F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8F285F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F285F
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F285F#FFFFFF#000000##FFFFFF
##8F285F1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394561
Deuteranopia (green-blind)
#56585D
Tritanopia (blue-blind)
#9A2140
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f285f;
/* rgb */ color: rgb(143, 40, 95);
/* oklch */ color: oklch(45.4% 0.148 351.8);
Tailwind
colors: {
  custom: {
    50: '#b46b8c',
    500: '#8f285f',
    950: '#000000',
  },
}
SCSS
$custom: #8f285f;
$custom-light: #b46b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f285f",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 327.961,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4537,
    "c": 0.14799,
    "h": 351.8
  },
  "luminance": 0.08183
}

Semantic roles & 50–950 ramp

primary
#8F285F
secondary
#5BB886
accent
#E08F48
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8F285F

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

Preview Lab → · Contrast checker → · Palette generator →

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