#8B1548#8B1548

#8B1548 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.155 H 1.4°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#8B1548
RGBrgb(139, 21, 72)
HSLhsl(334, 74%, 31%)
HSVhsv(334, 85%, 55%)
CMYKcmyk(0%, 84.9%, 48.2%, 45.5%)
CIE-LABlab(30.63, 50.45, 1.25)
CIE-LCHlch(30.63, 50.47, 1.42°)
OKLaboklab(42.23% 0.1551 0.0038)
OKLCHoklch(42.23% 0.155 1.4)
XYZxyz(12.0864, 6.4949, 6.7468)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1548 #158B58
analogous
#8B1583 #8B1548 #8B1D15
triadic
#8B1548 #488B15 #15488B
tetradic
#8B1548 #838B15 #158B58 #1D158B
square
#8B1548 #838B15 #158B58 #1D158B
split-complementary
#8B1548 #158B1D #15838B
monochromatic
#210511 #560D2C #8B1548 #C01D64 #E13982

Accessibility & contrast

On white

9.14
#8B1548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8B1548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1548
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1548#FFFFFF#000000##FFFFFF
##8B15481.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343A49
Deuteranopia (green-blind)
#535045
Tritanopia (blue-blind)
#98002D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8b1548;
/* rgb */ color: rgb(139, 21, 72);
/* oklch */ color: oklch(42.2% 0.155 1.4);
Tailwind
colors: {
  custom: {
    50: '#b2627a',
    500: '#8b1548',
    950: '#000000',
  },
}
SCSS
$custom: #8b1548;
$custom-light: #b2627a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1548",
  "rgb": {
    "r": 139,
    "g": 21,
    "b": 72
  },
  "hsl": {
    "h": 334.068,
    "s": 73.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42231,
    "c": 0.15512,
    "h": 1.4
  },
  "luminance": 0.06493
}

Semantic roles & 50–950 ramp

primary
#8B1548
secondary
#3DBF87
accent
#F0A037
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8B1548

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

Preview Lab → · Contrast checker → · Palette generator →

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