#8E1F4B#8E1F4B

#8E1F4B is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.149 H 2.0°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#8E1F4B
RGBrgb(142, 31, 75)
HSLhsl(336, 64%, 34%)
HSVhsv(336, 78%, 56%)
CMYKcmyk(0%, 78.2%, 47.2%, 44.3%)
CIE-LABlab(32.35, 48.66, 1.84)
CIE-LCHlch(32.35, 48.70, 2.17°)
OKLaboklab(43.63% 0.1493 0.0053)
OKLCHoklch(43.63% 0.149 2)
XYZxyz(12.9164, 7.2405, 7.3726)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F4B #1F8E62
analogous
#8E1F83 #8E1F4B #8E2B1F
triadic
#8E1F4B #4B8E1F #1F4B8E
tetradic
#8E1F4B #838E1F #1F8E62 #2B1F8E
square
#8E1F4B #838E1F #1F8E62 #2B1F8E
split-complementary
#8E1F4B #1F8E2B #1F838E
monochromatic
#2A0916 #5C1430 #8E1F4B #C02A66 #D94F85

Accessibility & contrast

On white

8.58
#8E1F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8E1F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F4B
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F4B#FFFFFF#000000##FFFFFF
##8E1F4B1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393E4C
Deuteranopia (green-blind)
#575448
Tritanopia (blue-blind)
#9B0632
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1f4b;
/* rgb */ color: rgb(142, 31, 75);
/* oklch */ color: oklch(43.6% 0.149 2.0);
Tailwind
colors: {
  custom: {
    50: '#b4667d',
    500: '#8e1f4b',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f4b;
$custom-light: #b4667d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f4b",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 336.216,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43631,
    "c": 0.14936,
    "h": 2
  },
  "luminance": 0.07239
}

Semantic roles & 50–950 ramp

primary
#8E1F4B
secondary
#4DBB90
accent
#E7A541
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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