#8B1F48#8B1F48

#8B1F48 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.146 H 3.0°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#8B1F48
RGBrgb(139, 31, 72)
HSLhsl(337, 64%, 33%)
HSVhsv(337, 78%, 55%)
CMYKcmyk(0%, 77.7%, 48.2%, 45.5%)
CIE-LABlab(31.67, 47.50, 2.75)
CIE-LCHlch(31.67, 47.58, 3.32°)
OKLaboklab(42.99% 0.1456 0.0076)
OKLCHoklch(42.99% 0.146 3)
XYZxyz(12.3082, 6.9385, 6.8208)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F48 #1F8B62
analogous
#8B1F7E #8B1F48 #8B2C1F
triadic
#8B1F48 #488B1F #1F488B
tetradic
#8B1F48 #7E8B1F #1F8B62 #2C1F8B
square
#8B1F48 #7E8B1F #1F8B62 #2C1F8B
split-complementary
#8B1F48 #1F8B2C #1F7E8B
monochromatic
#270914 #59142E #8B1F48 #BD2A62 #D74D82

Accessibility & contrast

On white

8.80
#8B1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8B1F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F48
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F48#FFFFFF#000000##FFFFFF
##8B1F481.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393D49
Deuteranopia (green-blind)
#555245
Tritanopia (blue-blind)
#970731
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8b1f48;
/* rgb */ color: rgb(139, 31, 72);
/* oklch */ color: oklch(43.0% 0.146 3.0);
Tailwind
colors: {
  custom: {
    50: '#b2667a',
    500: '#8b1f48',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f48;
$custom-light: #b2667a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f48",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 337.222,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42992,
    "c": 0.14577,
    "h": 3
  },
  "luminance": 0.06937
}

Semantic roles & 50–950 ramp

primary
#8B1F48
secondary
#4CBA90
accent
#E7A841
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8B1F48

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

Preview Lab → · Contrast checker → · Palette generator →

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