#8F275B#8F275B

#8F275B is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.147 H 354.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8F275B
RGBrgb(143, 39, 91)
HSLhsl(330, 57%, 36%)
HSVhsv(330, 73%, 56%)
CMYKcmyk(0%, 72.7%, 36.4%, 43.9%)
CIE-LABlab(34.08, 47.82, -5.99)
CIE-LCHlch(34.08, 48.20, 352.86°)
OKLaboklab(45.11% 0.1465 -0.0152)
OKLCHoklch(45.11% 0.147 354.1)
XYZxyz(13.9424, 8.0477, 10.7146)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F275B #278F5B
analogous
#8F278F #8F275B #8F2727
triadic
#8F275B #5B8F27 #275B8F
tetradic
#8F275B #8F8F27 #278F5B #27278F
square
#8F275B #8F8F27 #278F5B #27278F
split-complementary
#8F275B #278F27 #278F8F
monochromatic
#2F0D1E #5F1A3C #8F275B #BF347A #D35D98

Accessibility & contrast

On white

8.05
#8F275B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8F275B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F275B
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F275B#FFFFFF#000000##FFFFFF
##8F275B1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f275b;
/* rgb */ color: rgb(143, 39, 91);
/* oklch */ color: oklch(45.1% 0.147 354.1);
Tailwind
colors: {
  custom: {
    50: '#b46a89',
    500: '#8f275b',
    950: '#000000',
  },
}
SCSS
$custom: #8f275b;
$custom-light: #b46a89;
$custom-dark: #000000;
JSON
{
  "hex": "#8f275b",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 91
  },
  "hsl": {
    "h": 330,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45114,
    "c": 0.14729,
    "h": 354.1
  },
  "luminance": 0.08046
}

Semantic roles & 50–950 ramp

primary
#8F275B
secondary
#5AB889
accent
#E09447
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8F275B

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

Preview Lab → · Contrast checker → · Palette generator →

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