#8F1947#8F1947

#8F1947 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.155 H 3.7°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#8F1947
RGBrgb(143, 25, 71)
HSLhsl(337, 70%, 33%)
HSVhsv(337, 83%, 56%)
CMYKcmyk(0%, 82.5%, 50.3%, 43.9%)
CIE-LABlab(31.79, 50.40, 3.69)
CIE-LCHlch(31.79, 50.53, 4.19°)
OKLaboklab(43.22% 0.1545 0.0099)
OKLCHoklch(43.22% 0.155 3.7)
XYZxyz(12.8138, 6.9916, 6.6348)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1947 #198F61
analogous
#8F1982 #8F1947 #8F2619
triadic
#8F1947 #478F19 #19478F
tetradic
#8F1947 #828F19 #198F61 #26198F
square
#8F1947 #828F19 #198F61 #26198F
split-complementary
#8F1947 #198F26 #19828F
monochromatic
#270713 #5B102D #8F1947 #C32261 #DE4480

Accessibility & contrast

On white

8.76
#8F1947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8F1947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1947
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1947#FFFFFF#000000##FFFFFF
##8F19471.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C48
Deuteranopia (green-blind)
#575344
Tritanopia (blue-blind)
#9C002E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f1947;
/* rgb */ color: rgb(143, 25, 71);
/* oklch */ color: oklch(43.2% 0.155 3.7);
Tailwind
colors: {
  custom: {
    50: '#b5647a',
    500: '#8f1947',
    950: '#000000',
  },
}
SCSS
$custom: #8f1947;
$custom-light: #b5647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1947",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 71
  },
  "hsl": {
    "h": 336.61,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43217,
    "c": 0.15481,
    "h": 3.7
  },
  "luminance": 0.0699
}

Semantic roles & 50–950 ramp

primary
#8F1947
secondary
#44BF8F
accent
#EDA83B
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8F1947

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

Preview Lab → · Contrast checker → · Palette generator →

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