#8E1535#8E1535

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

Color values

HEX#8E1535
RGBrgb(142, 21, 53)
HSLhsl(344, 74%, 32%)
HSVhsv(344, 85%, 56%)
CMYKcmyk(0%, 85.2%, 62.7%, 44.3%)
CIE-LABlab(30.75, 49.79, 14.14)
CIE-LCHlch(30.75, 51.76, 15.86°)
OKLaboklab(42.27% 0.15 0.0347)
OKLCHoklch(42.27% 0.154 13)
XYZxyz(12.0674, 6.5460, 3.9956)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1535 #158E6E
analogous
#8E1572 #8E1535 #8E3115
triadic
#8E1535 #358E15 #15358E
tetradic
#8E1535 #728E15 #158E6E #31158E
square
#8E1535 #728E15 #158E6E #31158E
split-complementary
#8E1535 #158E31 #15728E
monochromatic
#23050D #590D21 #8E1535 #C31D49 #E23B67

Accessibility & contrast

On white

9.10
#8E1535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1535
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1535#FFFFFF#000000##FFFFFF
##8E15351.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3935
Deuteranopia (green-blind)
#585132
Tritanopia (blue-blind)
#9C0024
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e1535;
/* rgb */ color: rgb(142, 21, 53);
/* oklch */ color: oklch(42.3% 0.154 13.0);
Tailwind
colors: {
  custom: {
    50: '#b6626b',
    500: '#8e1535',
    950: '#000000',
  },
}
SCSS
$custom: #8e1535;
$custom-light: #b6626b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1535",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 53
  },
  "hsl": {
    "h": 344.132,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42267,
    "c": 0.15393,
    "h": 13
  },
  "luminance": 0.06544
}

Semantic roles & 50–950 ramp

primary
#8E1535
secondary
#3DC29F
accent
#F1C037
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8E1535

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

Preview Lab → · Contrast checker → · Palette generator →

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