#8F285B#8F285B

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

Color values

HEX#8F285B
RGBrgb(143, 40, 91)
HSLhsl(330, 56%, 36%)
HSVhsv(330, 72%, 56%)
CMYKcmyk(0%, 72%, 36.4%, 43.9%)
CIE-LABlab(34.22, 47.44, -5.78)
CIE-LCHlch(34.22, 47.79, 353.05°)
OKLaboklab(45.22% 0.1453 -0.0147)
OKLCHoklch(45.22% 0.146 354.2)
XYZxyz(13.9757, 8.1142, 10.7257)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F285B #288F5C
analogous
#8F288E #8F285B #8F2828
triadic
#8F285B #5B8F28 #285B8F
tetradic
#8F285B #8E8F28 #288F5C #28288F
square
#8F285B #8E8F28 #288F5C #28288F
split-complementary
#8F285B #288F28 #288E8F
monochromatic
#2F0D1E #5F1B3D #8F285B #BF3579 #D25F98

Accessibility & contrast

On white

8.01
#8F285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F285B
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F285B#FFFFFF#000000##FFFFFF
##8F285B1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A445C
Deuteranopia (green-blind)
#575759
Tritanopia (blue-blind)
#9A1F3E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f285b;
/* rgb */ color: rgb(143, 40, 91);
/* oklch */ color: oklch(45.2% 0.146 354.2);
Tailwind
colors: {
  custom: {
    50: '#b46b89',
    500: '#8f285b',
    950: '#000000',
  },
}
SCSS
$custom: #8f285b;
$custom-light: #b46b89;
$custom-dark: #000000;
JSON
{
  "hex": "#8f285b",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 330.291,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45215,
    "c": 0.14603,
    "h": 354.2
  },
  "luminance": 0.08113
}

Semantic roles & 50–950 ramp

primary
#8F285B
secondary
#5BB88A
accent
#E09548
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8F285B

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

Preview Lab → · Contrast checker → · Palette generator →

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