#8D1958#8D1958

#8D1958 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.160 H 353.3°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#8D1958
RGBrgb(141, 25, 88)
HSLhsl(327, 70%, 33%)
HSVhsv(327, 82%, 55%)
CMYKcmyk(0%, 82.3%, 37.6%, 44.7%)
CIE-LABlab(31.95, 51.55, -7.27)
CIE-LCHlch(31.95, 52.06, 351.97°)
OKLaboklab(43.45% 0.1585 -0.0186)
OKLCHoklch(43.45% 0.16 353.3)
XYZxyz(13.0945, 7.0642, 9.9046)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1958 #198D4E
analogous
#88198D #8D1958 #8D191E
triadic
#8D1958 #588D19 #19588D
tetradic
#8D1958 #8D8819 #198D4E #191E8D
square
#8D1958 #8D8819 #198D4E #191E8D
split-complementary
#8D1958 #1E8D19 #198D88
monochromatic
#250717 #591038 #8D1958 #C12278 #DE4397

Accessibility & contrast

On white

8.70
#8D1958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8D1958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1958
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1958#FFFFFF#000000##FFFFFF
##8D19581.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313E5A
Deuteranopia (green-blind)
#525355
Tritanopia (blue-blind)
#980837
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8d1958;
/* rgb */ color: rgb(141, 25, 88);
/* oklch */ color: oklch(43.5% 0.160 353.3);
Tailwind
colors: {
  custom: {
    50: '#b36487',
    500: '#8d1958',
    950: '#000000',
  },
}
SCSS
$custom: #8d1958;
$custom-light: #b36487;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1958",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 327.414,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4345,
    "c": 0.15955,
    "h": 353.3
  },
  "luminance": 0.07063
}

Semantic roles & 50–950 ramp

primary
#8D1958
secondary
#43BF7C
accent
#ED8C3B
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8D1958

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

Preview Lab → · Contrast checker → · Palette generator →

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