#8F274B#8F274B

#8F274B is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.6% C 0.141 H 4.0°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8F274B
RGBrgb(143, 39, 75)
HSLhsl(339, 57%, 36%)
HSVhsv(339, 73%, 56%)
CMYKcmyk(0%, 72.7%, 47.6%, 43.9%)
CIE-LABlab(33.56, 46.10, 3.62)
CIE-LCHlch(33.56, 46.25, 4.49°)
OKLaboklab(44.56% 0.141 0.0098)
OKLCHoklch(44.56% 0.141 4)
XYZxyz(13.3243, 7.8004, 7.4592)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F274B #278F6B
analogous
#8F277F #8F274B #8F3727
triadic
#8F274B #4B8F27 #274B8F
tetradic
#8F274B #7F8F27 #278F6B #37278F
square
#8F274B #7F8F27 #278F6B #37278F
split-complementary
#8F274B #278F37 #277F8F
monochromatic
#2F0D19 #5F1A32 #8F274B #BF3464 #D35D86

Accessibility & contrast

On white

8.20
#8F274B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8F274B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F274B
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F274B#FFFFFF#000000##FFFFFF
##8F274B1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424C
Deuteranopia (green-blind)
#5A5649
Tritanopia (blue-blind)
#9C1536
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f274b;
/* rgb */ color: rgb(143, 39, 75);
/* oklch */ color: oklch(44.6% 0.141 4.0);
Tailwind
colors: {
  custom: {
    50: '#b56a7d',
    500: '#8f274b',
    950: '#000000',
  },
}
SCSS
$custom: #8f274b;
$custom-light: #b56a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f274b",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 75
  },
  "hsl": {
    "h": 339.231,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44562,
    "c": 0.14133,
    "h": 4
  },
  "luminance": 0.07799
}

Semantic roles & 50–950 ramp

primary
#8F274B
secondary
#5AB897
accent
#E0AB47
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120709
muted
#817A7B

Preview Lab

Preview with #8F274B

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

Preview Lab → · Contrast checker → · Palette generator →

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