#8B1845#8B1845

#8B1845 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.152 H 3.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#8B1845
RGBrgb(139, 24, 69)
HSLhsl(337, 71%, 32%)
HSVhsv(337, 83%, 55%)
CMYKcmyk(0%, 82.7%, 50.4%, 45.5%)
CIE-LABlab(30.82, 49.38, 3.51)
CIE-LCHlch(30.82, 49.51, 4.07°)
OKLaboklab(42.34% 0.1514 0.0095)
OKLCHoklch(42.34% 0.152 3.6)
XYZxyz(12.0493, 6.5736, 6.2634)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1845 #188B5E
analogous
#8B187F #8B1845 #8B2518
triadic
#8B1845 #458B18 #18458B
tetradic
#8B1845 #7F8B18 #188B5E #25188B
square
#8B1845 #7F8B18 #188B5E #25188B
split-complementary
#8B1845 #188B25 #187F8B
monochromatic
#230611 #570F2B #8B1845 #BF215F #DE3F7D

Accessibility & contrast

On white

9.07
#8B1845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1845
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1845#FFFFFF#000000##FFFFFF
##8B18451.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363A46
Deuteranopia (green-blind)
#545142
Tritanopia (blue-blind)
#98002C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8b1845;
/* rgb */ color: rgb(139, 24, 69);
/* oklch */ color: oklch(42.3% 0.152 3.6);
Tailwind
colors: {
  custom: {
    50: '#b26378',
    500: '#8b1845',
    950: '#000000',
  },
}
SCSS
$custom: #8b1845;
$custom-light: #b26378;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1845",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 336.522,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42338,
    "c": 0.1517,
    "h": 3.6
  },
  "luminance": 0.06572
}

Semantic roles & 50–950 ramp

primary
#8B1845
secondary
#40BE8D
accent
#EDA73A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8B1845

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

Preview Lab → · Contrast checker → · Palette generator →

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