#8F1A45#8F1A45

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

Color values

HEX#8F1A45
RGBrgb(143, 26, 69)
HSLhsl(338, 69%, 33%)
HSVhsv(338, 82%, 56%)
CMYKcmyk(0%, 81.8%, 51.7%, 43.9%)
CIE-LABlab(31.83, 49.94, 5.07)
CIE-LCHlch(31.83, 50.20, 5.80°)
OKLaboklab(43.23% 0.1528 0.0134)
OKLCHoklch(43.23% 0.153 5)
XYZxyz(12.7724, 7.0099, 6.3096)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1A45 #1A8F64
analogous
#8F1A7F #8F1A45 #8F2A1A
triadic
#8F1A45 #458F1A #1A458F
tetradic
#8F1A45 #7F8F1A #1A8F64 #2A1A8F
square
#8F1A45 #7F8F1A #1A8F64 #2A1A8F
split-complementary
#8F1A45 #1A8F2A #1A7F8F
monochromatic
#270713 #5B112C #8F1A45 #C3235E #DD467E

Accessibility & contrast

On white

8.74
#8F1A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1A45
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1A45#FFFFFF#000000##FFFFFF
##8F1A451.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393C46
Deuteranopia (green-blind)
#575342
Tritanopia (blue-blind)
#9C002D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8f1a45;
/* rgb */ color: rgb(143, 26, 69);
/* oklch */ color: oklch(43.2% 0.153 5.0);
Tailwind
colors: {
  custom: {
    50: '#b66478',
    500: '#8f1a45',
    950: '#000000',
  },
}
SCSS
$custom: #8f1a45;
$custom-light: #b66478;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1a45",
  "rgb": {
    "r": 143,
    "g": 26,
    "b": 69
  },
  "hsl": {
    "h": 337.949,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43228,
    "c": 0.15341,
    "h": 5
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#8F1A45
secondary
#46BF92
accent
#ECAB3C
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8F1A45

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

Preview Lab → · Contrast checker → · Palette generator →

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