#8F1136#8F1136

#8F1136 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.158 H 12.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#8F1136
RGBrgb(143, 17, 54)
HSLhsl(342, 79%, 31%)
HSVhsv(342, 88%, 56%)
CMYKcmyk(0%, 88.1%, 62.2%, 43.9%)
CIE-LABlab(30.66, 51.06, 13.40)
CIE-LCHlch(30.66, 52.79, 14.70°)
OKLaboklab(42.25% 0.1542 0.033)
OKLCHoklch(42.25% 0.158 12.1)
XYZxyz(12.1953, 6.5088, 4.1035)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1136 #118F6A
analogous
#8F1175 #8F1136 #8F2B11
triadic
#8F1136 #368F11 #11368F
tetradic
#8F1136 #758F11 #118F6A #2B118F
square
#8F1136 #758F11 #118F6A #2B118F
split-complementary
#8F1136 #118F2B #11758F
monochromatic
#22040D #580A21 #8F1136 #C6184B #E73468

Accessibility & contrast

On white

9.12
#8F1136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8F1136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1136
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1136#FFFFFF#000000##FFFFFF
##8F11361.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383836
Deuteranopia (green-blind)
#585133
Tritanopia (blue-blind)
#9D0022
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8f1136;
/* rgb */ color: rgb(143, 17, 54);
/* oklch */ color: oklch(42.2% 0.158 12.1);
Tailwind
colors: {
  custom: {
    50: '#b7616c',
    500: '#8f1136',
    950: '#000000',
  },
}
SCSS
$custom: #8f1136;
$custom-light: #b7616c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1136",
  "rgb": {
    "r": 143,
    "g": 17,
    "b": 54
  },
  "hsl": {
    "h": 342.381,
    "s": 78.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42246,
    "c": 0.15763,
    "h": 12.1
  },
  "luminance": 0.06507
}

Semantic roles & 50–950 ramp

primary
#8F1136
secondary
#38C39B
accent
#F5BC33
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130607
muted
#827A7A

Preview Lab

Preview with #8F1136

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

Preview Lab → · Contrast checker → · Palette generator →

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