#8E123F#8E123F

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

Color values

HEX#8E123F
RGBrgb(142, 18, 63)
HSLhsl(338, 78%, 31%)
HSVhsv(338, 87%, 56%)
CMYKcmyk(0%, 87.3%, 55.6%, 44.3%)
CIE-LABlab(30.75, 51.21, 7.49)
CIE-LCHlch(30.75, 51.75, 8.32°)
OKLaboklab(42.34% 0.1563 0.0192)
OKLCHoklch(42.34% 0.157 7)
XYZxyz(12.2700, 6.5441, 5.3187)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E123F #128E61
analogous
#8E127D #8E123F #8E2312
triadic
#8E123F #3F8E12 #123F8E
tetradic
#8E123F #7D8E12 #128E61 #23128E
square
#8E123F #7D8E12 #128E61 #23128E
split-complementary
#8E123F #128E23 #127D8E
monochromatic
#21040F #580B27 #8E123F #C41957 #E53575

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E123F#FFFFFF#000000##FFFFFF
##8E123F1.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)
#363940
Deuteranopia (green-blind)
#56513C
Tritanopia (blue-blind)
#9C0027
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8e123f;
/* rgb */ color: rgb(142, 18, 63);
/* oklch */ color: oklch(42.3% 0.157 7.0);
Tailwind
colors: {
  custom: {
    50: '#b56173',
    500: '#8e123f',
    950: '#000000',
  },
}
SCSS
$custom: #8e123f;
$custom-light: #b56173;
$custom-dark: #000000;
JSON
{
  "hex": "#8e123f",
  "rgb": {
    "r": 142,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 338.226,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42343,
    "c": 0.15749,
    "h": 7
  },
  "luminance": 0.06542
}

Semantic roles & 50–950 ramp

primary
#8E123F
secondary
#3AC291
accent
#F4AE34
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120608
muted
#817A7B

Preview Lab

Preview with #8E123F

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

Preview Lab → · Contrast checker → · Palette generator →

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