#8B1748#8B1748

#8B1748 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.153 H 1.7°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#8B1748
RGBrgb(139, 23, 72)
HSLhsl(335, 72%, 32%)
HSVhsv(335, 83%, 55%)
CMYKcmyk(0%, 83.5%, 48.2%, 45.5%)
CIE-LABlab(30.81, 49.93, 1.52)
CIE-LCHlch(30.81, 49.95, 1.74°)
OKLaboklab(42.36% 0.1534 0.0044)
OKLCHoklch(42.36% 0.153 1.7)
XYZxyz(12.1246, 6.5713, 6.7596)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1748 #178B5A
analogous
#8B1782 #8B1748 #8B2017
triadic
#8B1748 #488B17 #17488B
tetradic
#8B1748 #828B17 #178B5A #20178B
square
#8B1748 #828B17 #178B5A #20178B
split-complementary
#8B1748 #178B20 #17828B
monochromatic
#220612 #560E2D #8B1748 #C02063 #DF3D82

Accessibility & contrast

On white

9.08
#8B1748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8B1748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1748
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1748#FFFFFF#000000##FFFFFF
##8B17481.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1748;
/* rgb */ color: rgb(139, 23, 72);
/* oklch */ color: oklch(42.4% 0.153 1.7);
Tailwind
colors: {
  custom: {
    50: '#b2637a',
    500: '#8b1748',
    950: '#000000',
  },
}
SCSS
$custom: #8b1748;
$custom-light: #b2637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1748",
  "rgb": {
    "r": 139,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 334.655,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42364,
    "c": 0.15344,
    "h": 1.7
  },
  "luminance": 0.0657
}

Semantic roles & 50–950 ramp

primary
#8B1748
secondary
#3FBF89
accent
#EEA239
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8B1748

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

Preview Lab → · Contrast checker → · Palette generator →

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