#9D1E54#9D1E54

#9D1E54 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.166 H 1.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#9D1E54
RGBrgb(157, 30, 84)
HSLhsl(334, 68%, 37%)
HSVhsv(334, 81%, 62%)
CMYKcmyk(0%, 80.9%, 46.5%, 38.4%)
CIE-LABlab(35.48, 54.03, 0.89)
CIE-LCHlch(35.48, 54.03, 0.94°)
OKLaboklab(46.55% 0.166 0.0029)
OKLCHoklch(46.55% 0.166 1)
XYZxyz(15.9705, 8.7389, 9.2316)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E54 #1E9D67
analogous
#9D1E94 #9D1E54 #9D281E
triadic
#9D1E54 #549D1E #1E549D
tetradic
#9D1E54 #949D1E #1E9D67 #281E9D
square
#9D1E54 #949D1E #1E9D67 #281E9D
split-complementary
#9D1E54 #1E9D28 #1E949D
monochromatic
#360A1D #6A1439 #9D1E54 #D0286F #DF5791

Accessibility & contrast

On white

7.64
#9D1E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9D1E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E54
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E54#FFFFFF#000000##FFFFFF
##9D1E541.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4455
Deuteranopia (green-blind)
#5F5C51
Tritanopia (blue-blind)
#AB0036
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1e54;
/* rgb */ color: rgb(157, 30, 84);
/* oklch */ color: oklch(46.6% 0.166 1.0);
Tailwind
colors: {
  custom: {
    50: '#bf6883',
    500: '#9d1e54',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e54;
$custom-light: #bf6883;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e54",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 84
  },
  "hsl": {
    "h": 334.488,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46552,
    "c": 0.16601,
    "h": 1
  },
  "luminance": 0.08737
}

Semantic roles & 50–950 ramp

primary
#9D1E54
secondary
#54C294
accent
#EBA13D
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1E54

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

Preview Lab → · Contrast checker → · Palette generator →

#9D1E54 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva