#8B1F74#8B1F74

#8B1F74 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.169 H 338.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8B1F74
RGBrgb(139, 31, 116)
HSLhsl(313, 64%, 33%)
HSVhsv(313, 78%, 55%)
CMYKcmyk(0%, 77.7%, 16.5%, 45.5%)
CIE-LABlab(33.42, 52.87, -23.04)
CIE-LCHlch(33.42, 57.67, 336.45°)
OKLaboklab(44.84% 0.1567 -0.0625)
OKLCHoklch(44.84% 0.169 338.2)
XYZxyz(14.2902, 7.7313, 17.2593)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F74 #1F8B36
analogous
#6C1F8B #8B1F74 #8B1F3E
triadic
#8B1F74 #748B1F #1F748B
tetradic
#8B1F74 #8B6C1F #1F8B36 #1F3E8B
square
#8B1F74 #8B6C1F #1F8B36 #1F3E8B
split-complementary
#8B1F74 #3E8B1F #1F8B6C
monochromatic
#270920 #59144A #8B1F74 #BD2A9E #D74DBA

Accessibility & contrast

On white

8.25
#8B1F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8B1F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F74
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F74#FFFFFF#000000##FFFFFF
##8B1F741.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244476
Deuteranopia (green-blind)
#495572
Tritanopia (blue-blind)
#932547
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1f74;
/* rgb */ color: rgb(139, 31, 116);
/* oklch */ color: oklch(44.8% 0.169 338.2);
Tailwind
colors: {
  custom: {
    50: '#b0679c',
    500: '#8b1f74',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f74;
$custom-light: #b0679c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f74",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 312.778,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44839,
    "c": 0.16869,
    "h": 338.2
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#8B1F74
secondary
#4CBA63
accent
#E76441
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B1F74

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

Preview Lab → · Contrast checker → · Palette generator →

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