#8B1F4F#8B1F4F

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

Color values

HEX#8B1F4F
RGBrgb(139, 31, 79)
HSLhsl(333, 64%, 33%)
HSVhsv(333, 78%, 55%)
CMYKcmyk(0%, 77.7%, 43.2%, 45.5%)
CIE-LABlab(31.89, 48.20, -1.53)
CIE-LCHlch(31.89, 48.22, 358.19°)
OKLaboklab(43.23% 0.1481 -0.0034)
OKLCHoklch(43.23% 0.148 358.7)
XYZxyz(12.5497, 7.0351, 8.0927)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F4F #1F8B5B
analogous
#8B1F85 #8B1F4F #8B251F
triadic
#8B1F4F #4F8B1F #1F4F8B
tetradic
#8B1F4F #858B1F #1F8B5B #251F8B
square
#8B1F4F #858B1F #1F8B5B #251F8B
split-complementary
#8B1F4F #1F8B25 #1F858B
monochromatic
#270916 #591433 #8B1F4F #BD2A6B #D74D8B

Accessibility & contrast

On white

8.73
#8B1F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8B1F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F4F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F4F#FFFFFF#000000##FFFFFF
##8B1F4F1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E50
Deuteranopia (green-blind)
#54524D
Tritanopia (blue-blind)
#970D34
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8b1f4f;
/* rgb */ color: rgb(139, 31, 79);
/* oklch */ color: oklch(43.2% 0.148 358.7);
Tailwind
colors: {
  custom: {
    50: '#b26680',
    500: '#8b1f4f',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f4f;
$custom-light: #b26680;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f4f",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 333.333,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43226,
    "c": 0.1481,
    "h": 358.7
  },
  "luminance": 0.07033
}

Semantic roles & 50–950 ramp

primary
#8B1F4F
secondary
#4CBA89
accent
#E79D41
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8B1F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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