#8F2947#8F2947

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

Color values

HEX#8F2947
RGBrgb(143, 41, 71)
HSLhsl(342, 55%, 36%)
HSVhsv(342, 71%, 56%)
CMYKcmyk(0%, 71.3%, 50.3%, 43.9%)
CIE-LABlab(33.74, 44.93, 6.47)
CIE-LCHlch(33.74, 45.40, 8.19°)
OKLaboklab(44.65% 0.1369 0.0169)
OKLCHoklch(44.65% 0.138 7)
XYZxyz(13.2591, 7.8822, 6.7832)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2947 #298F71
analogous
#8F297A #8F2947 #8F3E29
triadic
#8F2947 #478F29 #29478F
tetradic
#8F2947 #7A8F29 #298F71 #3E298F
square
#8F2947 #7A8F29 #298F71 #3E298F
split-complementary
#8F2947 #298F3E #297A8F
monochromatic
#300E18 #5F1B2F #8F2947 #BF375F #D26182

Accessibility & contrast

On white

8.15
#8F2947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8F2947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2947
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2947#FFFFFF#000000##FFFFFF
##8F29471.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414248
Deuteranopia (green-blind)
#5B5745
Tritanopia (blue-blind)
#9C1735
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f2947;
/* rgb */ color: rgb(143, 41, 71);
/* oklch */ color: oklch(44.7% 0.138 7.0);
Tailwind
colors: {
  custom: {
    50: '#b56b7a',
    500: '#8f2947',
    950: '#000000',
  },
}
SCSS
$custom: #8f2947;
$custom-light: #b56b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2947",
  "rgb": {
    "r": 143,
    "g": 41,
    "b": 71
  },
  "hsl": {
    "h": 342.353,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44654,
    "c": 0.13796,
    "h": 7
  },
  "luminance": 0.0788
}

Semantic roles & 50–950 ramp

primary
#8F2947
secondary
#5CB79D
accent
#DFB349
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#120709
muted
#817A7B

Preview Lab

Preview with #8F2947

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

Preview Lab → · Contrast checker → · Palette generator →

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