#8F1240#8F1240

#8F1240 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.6% C 0.159 H 6.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#8F1240
RGBrgb(143, 18, 64)
HSLhsl(338, 78%, 32%)
HSVhsv(338, 87%, 56%)
CMYKcmyk(0%, 87.4%, 55.2%, 43.9%)
CIE-LABlab(30.98, 51.56, 7.18)
CIE-LCHlch(30.98, 52.05, 7.93°)
OKLaboklab(42.56% 0.1575 0.0185)
OKLCHoklch(42.56% 0.159 6.7)
XYZxyz(12.4706, 6.6443, 5.4753)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1240 #128F61
analogous
#8F127F #8F1240 #8F2312
triadic
#8F1240 #408F12 #12408F
tetradic
#8F1240 #7F8F12 #128F61 #23128F
square
#8F1240 #7F8F12 #128F61 #23128F
split-complementary
#8F1240 #128F23 #127F8F
monochromatic
#22040F #590B28 #8F1240 #C51958 #E63676

Accessibility & contrast

On white

9.02
#8F1240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8F1240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1240
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1240#FFFFFF#000000##FFFFFF
##8F12401.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f1240;
/* rgb */ color: rgb(143, 18, 64);
/* oklch */ color: oklch(42.6% 0.159 6.7);
Tailwind
colors: {
  custom: {
    50: '#b66274',
    500: '#8f1240',
    950: '#000000',
  },
}
SCSS
$custom: #8f1240;
$custom-light: #b66274;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1240",
  "rgb": {
    "r": 143,
    "g": 18,
    "b": 64
  },
  "hsl": {
    "h": 337.92,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42562,
    "c": 0.15854,
    "h": 6.7
  },
  "luminance": 0.06642
}

Semantic roles & 50–950 ramp

primary
#8F1240
secondary
#3AC391
accent
#F4AD34
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F1240

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

Preview Lab → · Contrast checker → · Palette generator →

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