#8F1862#8F1862

#8F1862 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.167 H 348.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8F1862
RGBrgb(143, 24, 98)
HSLhsl(323, 71%, 33%)
HSVhsv(323, 83%, 56%)
CMYKcmyk(0%, 83.2%, 31.5%, 43.9%)
CIE-LABlab(32.65, 53.48, -12.66)
CIE-LCHlch(32.65, 54.96, 346.68°)
OKLaboklab(44.16% 0.1636 -0.0333)
OKLCHoklch(44.16% 0.167 348.5)
XYZxyz(13.8597, 7.3764, 12.2468)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1862 #188F45
analogous
#80188F #8F1862 #8F1827
triadic
#8F1862 #628F18 #18628F
tetradic
#8F1862 #8F8018 #188F45 #18278F
square
#8F1862 #8F8018 #188F45 #18278F
split-complementary
#8F1862 #278F18 #188F80
monochromatic
#26061A #5B0F3E #8F1862 #C32186 #DF42A4

Accessibility & contrast

On white

8.48
#8F1862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8F1862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1862
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1862#FFFFFF#000000##FFFFFF
##8F18621.008.482.478.48
#FFFFFF8.481.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4064
Deuteranopia (green-blind)
#50545F
Tritanopia (blue-blind)
#9A103C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f1862;
/* rgb */ color: rgb(143, 24, 98);
/* oklch */ color: oklch(44.2% 0.167 348.5);
Tailwind
colors: {
  custom: {
    50: '#b4658e',
    500: '#8f1862',
    950: '#000000',
  },
}
SCSS
$custom: #8f1862;
$custom-light: #b4658e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1862",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 322.689,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44157,
    "c": 0.16693,
    "h": 348.5
  },
  "luminance": 0.07375
}

Semantic roles & 50–950 ramp

primary
#8F1862
secondary
#43C072
accent
#EE7E3A
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060C
muted
#817A7D

Preview Lab

Preview with #8F1862

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

Preview Lab → · Contrast checker → · Palette generator →

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