#8F274F#8F274F

#8F274F is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.7% C 0.143 H 1.4°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8F274F
RGBrgb(143, 39, 79)
HSLhsl(337, 57%, 36%)
HSVhsv(337, 73%, 56%)
CMYKcmyk(0%, 72.7%, 44.8%, 43.9%)
CIE-LABlab(33.68, 46.50, 1.19)
CIE-LCHlch(33.68, 46.52, 1.47°)
OKLaboklab(44.69% 0.1425 0.0036)
OKLCHoklch(44.69% 0.143 1.4)
XYZxyz(13.4655, 7.8569, 8.2031)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F274F #278F67
analogous
#8F2783 #8F274F #8F3327
triadic
#8F274F #4F8F27 #274F8F
tetradic
#8F274F #838F27 #278F67 #33278F
square
#8F274F #838F27 #278F67 #33278F
split-complementary
#8F274F #278F33 #27838F
monochromatic
#2F0D1A #5F1A34 #8F274F #BF346A #D35D8B

Accessibility & contrast

On white

8.17
#8F274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8F274F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F274F
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F274F#FFFFFF#000000##FFFFFF
##8F274F1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4250
Deuteranopia (green-blind)
#59574D
Tritanopia (blue-blind)
#9B1838
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f274f;
/* rgb */ color: rgb(143, 39, 79);
/* oklch */ color: oklch(44.7% 0.143 1.4);
Tailwind
colors: {
  custom: {
    50: '#b46a80',
    500: '#8f274f',
    950: '#000000',
  },
}
SCSS
$custom: #8f274f;
$custom-light: #b46a80;
$custom-dark: #000000;
JSON
{
  "hex": "#8f274f",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 336.923,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4469,
    "c": 0.14252,
    "h": 1.4
  },
  "luminance": 0.07855
}

Semantic roles & 50–950 ramp

primary
#8F274F
secondary
#5AB894
accent
#E0A647
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8F274F

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

Preview Lab → · Contrast checker → · Palette generator →

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