#8F1B40#8F1B40

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

Color values

HEX#8F1B40
RGBrgb(143, 27, 64)
HSLhsl(341, 68%, 33%)
HSVhsv(341, 81%, 56%)
CMYKcmyk(0%, 81.1%, 55.2%, 43.9%)
CIE-LABlab(31.80, 49.24, 8.32)
CIE-LCHlch(31.80, 49.94, 9.60°)
OKLaboklab(43.16% 0.1499 0.0213)
OKLCHoklch(43.16% 0.151 8.1)
XYZxyz(12.6462, 6.9955, 5.5339)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B40 #1B8F6A
analogous
#8F1B7A #8F1B40 #8F301B
triadic
#8F1B40 #408F1B #1B408F
tetradic
#8F1B40 #7A8F1B #1B8F6A #301B8F
square
#8F1B40 #7A8F1B #1B8F6A #301B8F
split-complementary
#8F1B40 #1B8F30 #1B7A8F
monochromatic
#280812 #5C1129 #8F1B40 #C22557 #DC4877

Accessibility & contrast

On white

8.75
#8F1B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1B40
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1B40#FFFFFF#000000##FFFFFF
##8F1B401.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C41
Deuteranopia (green-blind)
#58533D
Tritanopia (blue-blind)
#9D002B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f1b40;
/* rgb */ color: rgb(143, 27, 64);
/* oklch */ color: oklch(43.2% 0.151 8.1);
Tailwind
colors: {
  custom: {
    50: '#b66474',
    500: '#8f1b40',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b40;
$custom-light: #b66474;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b40",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 340.862,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4316,
    "c": 0.15144,
    "h": 8.1
  },
  "luminance": 0.06994
}

Semantic roles & 50–950 ramp

primary
#8F1B40
secondary
#48BE98
accent
#EBB33D
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F1B40

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

Preview Lab → · Contrast checker → · Palette generator →

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