#8B1838#8B1838

#8B1838 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.149 H 11.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#8B1838
RGBrgb(139, 24, 56)
HSLhsl(343, 71%, 32%)
HSVhsv(343, 83%, 55%)
CMYKcmyk(0%, 82.7%, 59.7%, 45.5%)
CIE-LABlab(30.47, 48.34, 11.67)
CIE-LCHlch(30.47, 49.73, 13.57°)
OKLaboklab(41.97% 0.1463 0.0291)
OKLCHoklch(41.97% 0.149 11.2)
XYZxyz(11.6891, 6.4295, 4.3661)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1838 #188B6B
analogous
#8B1872 #8B1838 #8B3118
triadic
#8B1838 #388B18 #18388B
tetradic
#8B1838 #728B18 #188B6B #31188B
square
#8B1838 #728B18 #188B6B #31188B
split-complementary
#8B1838 #188B31 #18728B
monochromatic
#23060E #570F23 #8B1838 #BF214D #DE3F6C

Accessibility & contrast

On white

9.19
#8B1838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8B1838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1838
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1838#FFFFFF#000000##FFFFFF
##8B18381.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393938
Deuteranopia (green-blind)
#565035
Tritanopia (blue-blind)
#990026
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8b1838;
/* rgb */ color: rgb(139, 24, 56);
/* oklch */ color: oklch(42.0% 0.149 11.2);
Tailwind
colors: {
  custom: {
    50: '#b3626e',
    500: '#8b1838',
    950: '#000000',
  },
}
SCSS
$custom: #8b1838;
$custom-light: #b3626e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1838",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 56
  },
  "hsl": {
    "h": 343.304,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41973,
    "c": 0.14913,
    "h": 11.2
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#8B1838
secondary
#40BE9B
accent
#EDBC3A
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8B1838

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

Preview Lab → · Contrast checker → · Palette generator →

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