#8E1B45#8E1B45

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

Color values

HEX#8E1B45
RGBrgb(142, 27, 69)
HSLhsl(338, 68%, 33%)
HSVhsv(338, 81%, 56%)
CMYKcmyk(0%, 81%, 51.4%, 44.3%)
CIE-LABlab(31.73, 49.37, 4.90)
CIE-LCHlch(31.73, 49.61, 5.67°)
OKLaboklab(43.12% 0.1511 0.0129)
OKLCHoklch(43.12% 0.152 4.9)
XYZxyz(12.6226, 6.9661, 6.3090)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B45 #1B8E64
analogous
#8E1B7E #8E1B45 #8E2A1B
triadic
#8E1B45 #458E1B #1B458E
tetradic
#8E1B45 #7E8E1B #1B8E64 #2A1B8E
square
#8E1B45 #7E8E1B #1B8E64 #2A1B8E
split-complementary
#8E1B45 #1B8E2A #1B7E8E
monochromatic
#270713 #5B112C #8E1B45 #C1255E #DC477E

Accessibility & contrast

On white

8.78
#8E1B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8E1B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B45
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B45#FFFFFF#000000##FFFFFF
##8E1B451.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393C46
Deuteranopia (green-blind)
#575342
Tritanopia (blue-blind)
#9B002E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1b45;
/* rgb */ color: rgb(142, 27, 69);
/* oklch */ color: oklch(43.1% 0.152 4.9);
Tailwind
colors: {
  custom: {
    50: '#b56478',
    500: '#8e1b45',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b45;
$custom-light: #b56478;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b45",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 338.087,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43119,
    "c": 0.15162,
    "h": 4.9
  },
  "luminance": 0.06964
}

Semantic roles & 50–950 ramp

primary
#8E1B45
secondary
#47BE92
accent
#EBAB3D
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E1B45

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

Preview Lab → · Contrast checker → · Palette generator →

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