#8B1948#8B1948

#8B1948 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.152 H 1.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#8B1948
RGBrgb(139, 25, 72)
HSLhsl(335, 70%, 32%)
HSVhsv(335, 82%, 55%)
CMYKcmyk(0%, 82%, 48.2%, 45.5%)
CIE-LABlab(31.01, 49.37, 1.80)
CIE-LCHlch(31.01, 49.41, 2.09°)
OKLaboklab(42.51% 0.1516 0.0051)
OKLCHoklch(42.51% 0.152 1.9)
XYZxyz(12.1658, 6.6538, 6.7733)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1948 #198B5C
analogous
#8B1981 #8B1948 #8B2319
triadic
#8B1948 #488B19 #19488B
tetradic
#8B1948 #818B19 #198B5C #23198B
square
#8B1948 #818B19 #198B5C #23198B
split-complementary
#8B1948 #198B23 #19818B
monochromatic
#230612 #57102D #8B1948 #BF2263 #DD4182

Accessibility & contrast

On white

9.01
#8B1948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8B1948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1948
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1948#FFFFFF#000000##FFFFFF
##8B19481.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B49
Deuteranopia (green-blind)
#545145
Tritanopia (blue-blind)
#98002E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b1948;
/* rgb */ color: rgb(139, 25, 72);
/* oklch */ color: oklch(42.5% 0.152 1.9);
Tailwind
colors: {
  custom: {
    50: '#b2637a',
    500: '#8b1948',
    950: '#000000',
  },
}
SCSS
$custom: #8b1948;
$custom-light: #b2637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1948",
  "rgb": {
    "r": 139,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 335.263,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42507,
    "c": 0.15168,
    "h": 1.9
  },
  "luminance": 0.06652
}

Semantic roles & 50–950 ramp

primary
#8B1948
secondary
#42BE8B
accent
#ECA33B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8B1948

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

Preview Lab → · Contrast checker → · Palette generator →

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