#8F1340#8F1340

#8F1340 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.158 H 6.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#8F1340
RGBrgb(143, 19, 64)
HSLhsl(338, 77%, 32%)
HSVhsv(338, 87%, 56%)
CMYKcmyk(0%, 86.7%, 55.2%, 43.9%)
CIE-LABlab(31.06, 51.33, 7.29)
CIE-LCHlch(31.06, 51.85, 8.09°)
OKLaboklab(42.62% 0.1567 0.0188)
OKLCHoklch(42.62% 0.158 6.8)
XYZxyz(12.4872, 6.6774, 5.4808)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1340 #138F62
analogous
#8F137E #8F1340 #8F2413
triadic
#8F1340 #408F13 #13408F
tetradic
#8F1340 #7E8F13 #138F62 #24138F
square
#8F1340 #7E8F13 #138F62 #24138F
split-complementary
#8F1340 #138F24 #137E8F
monochromatic
#230510 #590C28 #8F1340 #C51A58 #E53877

Accessibility & contrast

On white

8.99
#8F1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8F1340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1340
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1340#FFFFFF#000000##FFFFFF
##8F13401.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373A41
Deuteranopia (green-blind)
#57523D
Tritanopia (blue-blind)
#9D0028
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8f1340;
/* rgb */ color: rgb(143, 19, 64);
/* oklch */ color: oklch(42.6% 0.158 6.8);
Tailwind
colors: {
  custom: {
    50: '#b66274',
    500: '#8f1340',
    950: '#000000',
  },
}
SCSS
$custom: #8f1340;
$custom-light: #b66274;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1340",
  "rgb": {
    "r": 143,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 338.226,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4262,
    "c": 0.15785,
    "h": 6.8
  },
  "luminance": 0.06676
}

Semantic roles & 50–950 ramp

primary
#8F1340
secondary
#3BC392
accent
#F3AE35
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F1340

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

Preview Lab → · Contrast checker → · Palette generator →

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