#9D1A5F#9D1A5F

#9D1A5F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.174 H 354.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9D1A5F
RGBrgb(157, 26, 95)
HSLhsl(328, 72%, 36%)
HSVhsv(328, 83%, 62%)
CMYKcmyk(0%, 83.4%, 39.5%, 38.4%)
CIE-LABlab(35.47, 56.17, -6.21)
CIE-LCHlch(35.47, 56.51, 353.69°)
OKLaboklab(46.67% 0.1729 -0.0157)
OKLCHoklch(46.67% 0.174 354.8)
XYZxyz(16.3407, 8.7352, 11.6498)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A5F #1A9D58
analogous
#991A9D #9D1A5F #9D1A1D
triadic
#9D1A5F #5F9D1A #1A5F9D
tetradic
#9D1A5F #9D991A #1A9D58 #1A1D9D
square
#9D1A5F #9D991A #1A9D58 #1A1D9D
split-complementary
#9D1A5F #1D9D1A #1A9D99
monochromatic
#34091F #68113F #9D1A5F #D2237F #E24F9D

Accessibility & contrast

On white

7.65
#9D1A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1A5F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A5F#FFFFFF#000000##FFFFFF
##9D1A5F1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374461
Deuteranopia (green-blind)
#5C5C5C
Tritanopia (blue-blind)
#AA003B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1a5f;
/* rgb */ color: rgb(157, 26, 95);
/* oklch */ color: oklch(46.7% 0.174 354.8);
Tailwind
colors: {
  custom: {
    50: '#bf678c',
    500: '#9d1a5f',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a5f;
$custom-light: #bf678c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a5f",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 328.397,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46666,
    "c": 0.17363,
    "h": 354.8
  },
  "luminance": 0.08733
}

Semantic roles & 50–950 ramp

primary
#9D1A5F
secondary
#4EC486
accent
#EE8F39
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D1A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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