#8F224A#8F224A

#8F224A is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.0% C 0.147 H 3.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#8F224A
RGBrgb(143, 34, 74)
HSLhsl(338, 62%, 35%)
HSVhsv(338, 76%, 56%)
CMYKcmyk(0%, 76.2%, 48.3%, 43.9%)
CIE-LABlab(32.88, 47.85, 3.28)
CIE-LCHlch(32.88, 47.96, 3.92°)
OKLaboklab(44.05% 0.1465 0.0089)
OKLCHoklch(44.05% 0.147 3.5)
XYZxyz(13.1368, 7.4799, 7.2292)
Luminance0.0748 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F224A #228F67
analogous
#8F2280 #8F224A #8F3122
triadic
#8F224A #4A8F22 #224A8F
tetradic
#8F224A #808F22 #228F67 #31228F
square
#8F224A #808F22 #228F67 #31228F
split-complementary
#8F224A #228F31 #22808F
monochromatic
#2C0A17 #5E1630 #8F224A #C02E64 #D75584

Accessibility & contrast

On white

8.41
#8F224A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8F224A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F224A
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F224A#FFFFFF#000000##FFFFFF
##8F224A1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C404B
Deuteranopia (green-blind)
#595547
Tritanopia (blue-blind)
#9C0B33
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f224a;
/* rgb */ color: rgb(143, 34, 74);
/* oklch */ color: oklch(44.0% 0.147 3.5);
Tailwind
colors: {
  custom: {
    50: '#b5677c',
    500: '#8f224a',
    950: '#000000',
  },
}
SCSS
$custom: #8f224a;
$custom-light: #b5677c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f224a",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 74
  },
  "hsl": {
    "h": 337.982,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44045,
    "c": 0.14678,
    "h": 3.5
  },
  "luminance": 0.07478
}

Semantic roles & 50–950 ramp

primary
#8F224A
secondary
#52BA94
accent
#E5A943
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120709
muted
#817A7B

Preview Lab

Preview with #8F224A

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

Preview Lab → · Contrast checker → · Palette generator →

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