#8B1F4D#8B1F4D

#8B1F4D is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.147 H 359.9°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#8B1F4D
RGBrgb(139, 31, 77)
HSLhsl(334, 64%, 33%)
HSVhsv(334, 78%, 55%)
CMYKcmyk(0%, 77.7%, 44.6%, 45.5%)
CIE-LABlab(31.82, 47.99, -0.31)
CIE-LCHlch(31.82, 47.99, 359.63°)
OKLaboklab(43.16% 0.1474 -0.0003)
OKLCHoklch(43.16% 0.147 359.9)
XYZxyz(12.4780, 7.0064, 7.7150)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F4D #1F8B5D
analogous
#8B1F83 #8B1F4D #8B271F
triadic
#8B1F4D #4D8B1F #1F4D8B
tetradic
#8B1F4D #838B1F #1F8B5D #271F8B
square
#8B1F4D #838B1F #1F8B5D #271F8B
split-complementary
#8B1F4D #1F8B27 #1F838B
monochromatic
#270916 #591431 #8B1F4D #BD2A69 #D74D88

Accessibility & contrast

On white

8.75
#8B1F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8B1F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F4D
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F4D#FFFFFF#000000##FFFFFF
##8B1F4D1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E4E
Deuteranopia (green-blind)
#54524B
Tritanopia (blue-blind)
#970B33
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8b1f4d;
/* rgb */ color: rgb(139, 31, 77);
/* oklch */ color: oklch(43.2% 0.147 359.9);
Tailwind
colors: {
  custom: {
    50: '#b2667e',
    500: '#8b1f4d',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f4d;
$custom-light: #b2667e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f4d",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 77
  },
  "hsl": {
    "h": 334.444,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43157,
    "c": 0.14737,
    "h": 359.9
  },
  "luminance": 0.07005
}

Semantic roles & 50–950 ramp

primary
#8B1F4D
secondary
#4CBA8B
accent
#E7A041
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8B1F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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