#8E1537#8E1537

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

Color values

HEX#8E1537
RGBrgb(142, 21, 55)
HSLhsl(343, 74%, 32%)
HSVhsv(343, 85%, 56%)
CMYKcmyk(0%, 85.2%, 61.3%, 44.3%)
CIE-LABlab(30.79, 49.93, 12.88)
CIE-LCHlch(30.79, 51.56, 14.46°)
OKLaboklab(42.32% 0.1508 0.0318)
OKLCHoklch(42.32% 0.154 11.9)
XYZxyz(12.1144, 6.5648, 4.2429)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1537 #158E6C
analogous
#8E1574 #8E1537 #8E2F15
triadic
#8E1537 #378E15 #15378E
tetradic
#8E1537 #748E15 #158E6C #2F158E
square
#8E1537 #748E15 #158E6C #2F158E
split-complementary
#8E1537 #158E2F #15748E
monochromatic
#23050E #590D22 #8E1537 #C31D4C #E23B6A

Accessibility & contrast

On white

9.08
#8E1537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1537
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1537#FFFFFF#000000##FFFFFF
##8E15371.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393937
Deuteranopia (green-blind)
#585134
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1537;
/* rgb */ color: rgb(142, 21, 55);
/* oklch */ color: oklch(42.3% 0.154 11.9);
Tailwind
colors: {
  custom: {
    50: '#b6626d',
    500: '#8e1537',
    950: '#000000',
  },
}
SCSS
$custom: #8e1537;
$custom-light: #b6626d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1537",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 55
  },
  "hsl": {
    "h": 343.14,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42315,
    "c": 0.15412,
    "h": 11.9
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#8E1537
secondary
#3DC29C
accent
#F1BD37
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1537

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

Preview Lab → · Contrast checker → · Palette generator →

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