#8F1940#8F1940

#8F1940 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.153 H 7.7°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#8F1940
RGBrgb(143, 25, 64)
HSLhsl(340, 70%, 33%)
HSVhsv(340, 83%, 56%)
CMYKcmyk(0%, 82.5%, 55.2%, 43.9%)
CIE-LABlab(31.59, 49.81, 8.04)
CIE-LCHlch(31.59, 50.46, 9.17°)
OKLaboklab(43.01% 0.1518 0.0206)
OKLCHoklch(43.01% 0.153 7.7)
XYZxyz(12.6019, 6.9069, 5.5191)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1940 #198F68
analogous
#8F197B #8F1940 #8F2D19
triadic
#8F1940 #408F19 #19408F
tetradic
#8F1940 #7B8F19 #198F68 #2D198F
square
#8F1940 #7B8F19 #198F68 #2D198F
split-complementary
#8F1940 #198F2D #197B8F
monochromatic
#270711 #5B1029 #8F1940 #C32257 #DE4477

Accessibility & contrast

On white

8.82
#8F1940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8F1940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1940
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1940#FFFFFF#000000##FFFFFF
##8F19401.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B41
Deuteranopia (green-blind)
#58533D
Tritanopia (blue-blind)
#9D002A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8f1940;
/* rgb */ color: rgb(143, 25, 64);
/* oklch */ color: oklch(43.0% 0.153 7.7);
Tailwind
colors: {
  custom: {
    50: '#b66474',
    500: '#8f1940',
    950: '#000000',
  },
}
SCSS
$custom: #8f1940;
$custom-light: #b66474;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1940",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 340.169,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43011,
    "c": 0.15319,
    "h": 7.7
  },
  "luminance": 0.06905
}

Semantic roles & 50–950 ramp

primary
#8F1940
secondary
#44BF97
accent
#EDB23B
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F1940

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

Preview Lab → · Contrast checker → · Palette generator →

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