#8F2162#8F2162

#8F2162 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.158 H 349.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8F2162
RGBrgb(143, 33, 98)
HSLhsl(325, 63%, 35%)
HSVhsv(325, 77%, 56%)
CMYKcmyk(0%, 76.9%, 31.5%, 43.9%)
CIE-LABlab(33.59, 50.81, -11.24)
CIE-LCHlch(33.59, 52.04, 347.53°)
OKLaboklab(44.84% 0.1552 -0.0294)
OKLCHoklch(44.84% 0.158 349.3)
XYZxyz(14.0769, 7.8108, 12.3192)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2162 #218F4E
analogous
#85218F #8F2162 #8F212B
triadic
#8F2162 #628F21 #21628F
tetradic
#8F2162 #8F8521 #218F4E #212B8F
square
#8F2162 #8F8521 #218F4E #212B8F
split-complementary
#8F2162 #2B8F21 #218F85
monochromatic
#2C0A1E #5D1640 #8F2162 #C12C84 #D753A1

Accessibility & contrast

On white

8.20
#8F2162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8F2162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2162
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2162#FFFFFF#000000##FFFFFF
##8F21621.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334364
Deuteranopia (green-blind)
#535660
Tritanopia (blue-blind)
#9A1B3E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f2162;
/* rgb */ color: rgb(143, 33, 98);
/* oklch */ color: oklch(44.8% 0.158 349.3);
Tailwind
colors: {
  custom: {
    50: '#b4688e',
    500: '#8f2162',
    950: '#000000',
  },
}
SCSS
$custom: #8f2162;
$custom-light: #b4688e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2162",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 324.545,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44838,
    "c": 0.15796,
    "h": 349.3
  },
  "luminance": 0.07809
}

Semantic roles & 50–950 ramp

primary
#8F2162
secondary
#51BB7C
accent
#E68542
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8F2162

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

Preview Lab → · Contrast checker → · Palette generator →

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