#8B1848#8B1848

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

Color values

HEX#8B1848
RGBrgb(139, 24, 72)
HSLhsl(335, 71%, 32%)
HSVhsv(335, 83%, 55%)
CMYKcmyk(0%, 82.7%, 48.2%, 45.5%)
CIE-LABlab(30.91, 49.66, 1.65)
CIE-LCHlch(30.91, 49.68, 1.91°)
OKLaboklab(42.43% 0.1525 0.0048)
OKLCHoklch(42.43% 0.153 1.8)
XYZxyz(12.1448, 6.6118, 6.7663)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1848 #188B5B
analogous
#8B1881 #8B1848 #8B2218
triadic
#8B1848 #488B18 #18488B
tetradic
#8B1848 #818B18 #188B5B #22188B
square
#8B1848 #818B18 #188B5B #22188B
split-complementary
#8B1848 #188B22 #18818B
monochromatic
#230612 #570F2D #8B1848 #BF2163 #DE3F82

Accessibility & contrast

On white

9.04
#8B1848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8B1848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1848
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1848#FFFFFF#000000##FFFFFF
##8B18481.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1848;
/* rgb */ color: rgb(139, 24, 72);
/* oklch */ color: oklch(42.4% 0.153 1.8);
Tailwind
colors: {
  custom: {
    50: '#b2637a',
    500: '#8b1848',
    950: '#000000',
  },
}
SCSS
$custom: #8b1848;
$custom-light: #b2637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1848",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 72
  },
  "hsl": {
    "h": 334.957,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42434,
    "c": 0.15257,
    "h": 1.8
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#8B1848
secondary
#40BE8A
accent
#EDA33A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8B1848

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

Preview Lab → · Contrast checker → · Palette generator →

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