#8E1B48#8E1B48

#8E1B48 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.152 H 3.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#8E1B48
RGBrgb(142, 27, 72)
HSLhsl(337, 68%, 33%)
HSVhsv(337, 81%, 56%)
CMYKcmyk(0%, 81%, 49.3%, 44.3%)
CIE-LABlab(31.82, 49.63, 3.05)
CIE-LCHlch(31.82, 49.73, 3.51°)
OKLaboklab(43.21% 0.1522 0.0083)
OKLCHoklch(43.21% 0.152 3.1)
XYZxyz(12.7181, 7.0043, 6.8119)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B48 #1B8E61
analogous
#8E1B81 #8E1B48 #8E281B
triadic
#8E1B48 #488E1B #1B488E
tetradic
#8E1B48 #818E1B #1B8E61 #281B8E
square
#8E1B48 #818E1B #1B8E61 #281B8E
split-complementary
#8E1B48 #1B8E28 #1B818E
monochromatic
#270714 #5B112E #8E1B48 #C12562 #DC4782

Accessibility & contrast

On white

8.75
#8E1B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8E1B48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B48
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B48#FFFFFF#000000##FFFFFF
##8E1B481.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383D49
Deuteranopia (green-blind)
#565345
Tritanopia (blue-blind)
#9B002F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1b48;
/* rgb */ color: rgb(142, 27, 72);
/* oklch */ color: oklch(43.2% 0.152 3.1);
Tailwind
colors: {
  custom: {
    50: '#b5647a',
    500: '#8e1b48',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b48;
$custom-light: #b5647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b48",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 336.522,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43211,
    "c": 0.15242,
    "h": 3.1
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#8E1B48
secondary
#47BE8F
accent
#EBA73D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1B48

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

Preview Lab → · Contrast checker → · Palette generator →

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