#8B1438#8B1438

#8B1438 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.152 H 10.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#8B1438
RGBrgb(139, 20, 56)
HSLhsl(342, 75%, 31%)
HSVhsv(342, 86%, 55%)
CMYKcmyk(0%, 85.6%, 59.7%, 45.5%)
CIE-LABlab(30.10, 49.40, 11.16)
CIE-LCHlch(30.10, 50.64, 12.73°)
OKLaboklab(41.7% 0.1497 0.0279)
OKLCHoklch(41.7% 0.152 10.5)
XYZxyz(11.6126, 6.2766, 4.3406)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1438 #148B67
analogous
#8B1473 #8B1438 #8B2B14
triadic
#8B1438 #388B14 #14388B
tetradic
#8B1438 #738B14 #148B67 #2B148B
square
#8B1438 #738B14 #148B67 #2B148B
split-complementary
#8B1438 #148B2B #14738B
monochromatic
#20050D #550C22 #8B1438 #C11C4E #E2376B

Accessibility & contrast

On white

9.31
#8B1438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#8B1438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1438
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1438#FFFFFF#000000##FFFFFF
##8B14381.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373839
Deuteranopia (green-blind)
#554F35
Tritanopia (blue-blind)
#990025
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8b1438;
/* rgb */ color: rgb(139, 20, 56);
/* oklch */ color: oklch(41.7% 0.152 10.5);
Tailwind
colors: {
  custom: {
    50: '#b3616e',
    500: '#8b1438',
    950: '#000000',
  },
}
SCSS
$custom: #8b1438;
$custom-light: #b3616e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1438",
  "rgb": {
    "r": 139,
    "g": 20,
    "b": 56
  },
  "hsl": {
    "h": 341.849,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41699,
    "c": 0.15227,
    "h": 10.5
  },
  "luminance": 0.06275
}

Semantic roles & 50–950 ramp

primary
#8B1438
secondary
#3CBF97
accent
#F1B936
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8B1438

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

Preview Lab → · Contrast checker → · Palette generator →

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