#8B1F62#8B1F62

#8B1F62 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.157 H 347.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8B1F62
RGBrgb(139, 31, 98)
HSLhsl(323, 64%, 33%)
HSVhsv(323, 78%, 55%)
CMYKcmyk(0%, 77.7%, 29.5%, 45.5%)
CIE-LABlab(32.60, 50.39, -12.82)
CIE-LCHlch(32.60, 52.00, 345.73°)
OKLaboklab(43.98% 0.1535 -0.0338)
OKLCHoklch(43.98% 0.157 347.6)
XYZxyz(13.3427, 7.3523, 12.2694)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F62 #1F8B48
analogous
#7E1F8B #8B1F62 #8B1F2C
triadic
#8B1F62 #628B1F #1F628B
tetradic
#8B1F62 #8B7E1F #1F8B48 #1F2C8B
square
#8B1F62 #8B7E1F #1F8B48 #1F2C8B
split-complementary
#8B1F62 #2C8B1F #1F8B7E
monochromatic
#27091B #59143F #8B1F62 #BD2A85 #D74DA3

Accessibility & contrast

On white

8.50
#8B1F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1F62
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F62#FFFFFF#000000##FFFFFF
##8B1F621.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4164
Deuteranopia (green-blind)
#4F5360
Tritanopia (blue-blind)
#951A3E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b1f62;
/* rgb */ color: rgb(139, 31, 98);
/* oklch */ color: oklch(44.0% 0.157 347.6);
Tailwind
colors: {
  custom: {
    50: '#b1668e',
    500: '#8b1f62',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f62;
$custom-light: #b1668e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f62",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 322.778,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43977,
    "c": 0.15721,
    "h": 347.6
  },
  "luminance": 0.07351
}

Semantic roles & 50–950 ramp

primary
#8B1F62
secondary
#4CBA76
accent
#E78041
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8B1F62

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

Preview Lab → · Contrast checker → · Palette generator →

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