#8F2247#8F2247

#8F2247 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.146 H 5.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#8F2247
RGBrgb(143, 34, 71)
HSLhsl(340, 62%, 35%)
HSVhsv(340, 76%, 56%)
CMYKcmyk(0%, 76.2%, 50.3%, 43.9%)
CIE-LABlab(32.79, 47.57, 5.12)
CIE-LCHlch(32.79, 47.84, 6.15°)
OKLaboklab(43.95% 0.1454 0.0135)
OKLCHoklch(43.95% 0.146 5.3)
XYZxyz(13.0382, 7.4404, 6.7096)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2247 #228F6A
analogous
#8F227E #8F2247 #8F3422
triadic
#8F2247 #478F22 #22478F
tetradic
#8F2247 #7E8F22 #228F6A #34228F
square
#8F2247 #7E8F22 #228F6A #34228F
split-complementary
#8F2247 #228F34 #227E8F
monochromatic
#2C0A16 #5E162E #8F2247 #C02E60 #D75581

Accessibility & contrast

On white

8.44
#8F2247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8F2247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2247
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2247#FFFFFF#000000##FFFFFF
##8F22471.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3F48
Deuteranopia (green-blind)
#595544
Tritanopia (blue-blind)
#9C0932
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f2247;
/* rgb */ color: rgb(143, 34, 71);
/* oklch */ color: oklch(44.0% 0.146 5.3);
Tailwind
colors: {
  custom: {
    50: '#b5677a',
    500: '#8f2247',
    950: '#000000',
  },
}
SCSS
$custom: #8f2247;
$custom-light: #b5677a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2247",
  "rgb": {
    "r": 143,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 339.633,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43953,
    "c": 0.146,
    "h": 5.3
  },
  "luminance": 0.07439
}

Semantic roles & 50–950 ramp

primary
#8F2247
secondary
#52BA97
accent
#E5AE43
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120709
muted
#817A7B

Preview Lab

Preview with #8F2247

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

Preview Lab → · Contrast checker → · Palette generator →

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