#8F274E#8F274E

#8F274E is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.7% C 0.142 H 2.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8F274E
RGBrgb(143, 39, 78)
HSLhsl(338, 57%, 36%)
HSVhsv(338, 73%, 56%)
CMYKcmyk(0%, 72.7%, 45.5%, 43.9%)
CIE-LABlab(33.65, 46.40, 1.80)
CIE-LCHlch(33.65, 46.44, 2.22°)
OKLaboklab(44.66% 0.1421 0.0052)
OKLCHoklch(44.66% 0.142 2.1)
XYZxyz(13.4294, 7.8425, 8.0128)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F274E #278F68
analogous
#8F2782 #8F274E #8F3427
triadic
#8F274E #4E8F27 #274E8F
tetradic
#8F274E #828F27 #278F68 #34278F
square
#8F274E #828F27 #278F68 #34278F
split-complementary
#8F274E #278F34 #27828F
monochromatic
#2F0D1A #5F1A34 #8F274E #BF3468 #D35D8A

Accessibility & contrast

On white

8.18
#8F274E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F274E
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F274E#FFFFFF#000000##FFFFFF
##8F274E1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424F
Deuteranopia (green-blind)
#59574C
Tritanopia (blue-blind)
#9B1737
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f274e;
/* rgb */ color: rgb(143, 39, 78);
/* oklch */ color: oklch(44.7% 0.142 2.1);
Tailwind
colors: {
  custom: {
    50: '#b56a7f',
    500: '#8f274e',
    950: '#000000',
  },
}
SCSS
$custom: #8f274e;
$custom-light: #b56a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f274e",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 337.5,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44657,
    "c": 0.1422,
    "h": 2.1
  },
  "luminance": 0.07841
}

Semantic roles & 50–950 ramp

primary
#8F274E
secondary
#5AB895
accent
#E0A747
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8F274E

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

Preview Lab → · Contrast checker → · Palette generator →

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