#9D1A4E#9D1A4E

#9D1A4E is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.168 H 3.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9D1A4E
RGBrgb(157, 26, 78)
HSLhsl(336, 72%, 36%)
HSVhsv(336, 83%, 62%)
CMYKcmyk(0%, 83.4%, 50.3%, 38.4%)
CIE-LABlab(34.92, 54.56, 3.98)
CIE-LCHlch(34.92, 54.71, 4.17°)
OKLaboklab(46.09% 0.1673 0.0107)
OKLCHoklch(46.09% 0.168 3.7)
XYZxyz(15.6506, 8.4592, 8.0149)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A4E #1A9D69
analogous
#9D1A8F #9D1A4E #9D271A
triadic
#9D1A4E #4E9D1A #1A4E9D
tetradic
#9D1A4E #8F9D1A #1A9D69 #271A9D
square
#9D1A4E #8F9D1A #1A9D69 #271A9D
split-complementary
#9D1A4E #1A9D27 #1A8F9D
monochromatic
#34091A #681134 #9D1A4E #D22368 #E24F8A

Accessibility & contrast

On white

7.80
#9D1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9D1A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1A4E
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A4E#FFFFFF#000000##FFFFFF
##9D1A4E1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D424F
Deuteranopia (green-blind)
#5F5B4B
Tritanopia (blue-blind)
#AB0032
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1a4e;
/* rgb */ color: rgb(157, 26, 78);
/* oklch */ color: oklch(46.1% 0.168 3.7);
Tailwind
colors: {
  custom: {
    50: '#c0677f',
    500: '#9d1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a4e;
$custom-light: #c0677f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a4e",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 336.183,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46087,
    "c": 0.16765,
    "h": 3.7
  },
  "luminance": 0.08457
}

Semantic roles & 50–950 ramp

primary
#9D1A4E
secondary
#4EC496
accent
#EEA739
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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