#9D1A4B#9D1A4B

#9D1A4B is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.167 H 5.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9D1A4B
RGBrgb(157, 26, 75)
HSLhsl(338, 72%, 36%)
HSVhsv(338, 83%, 62%)
CMYKcmyk(0%, 83.4%, 52.2%, 38.4%)
CIE-LABlab(34.84, 54.31, 5.81)
CIE-LCHlch(34.84, 54.62, 6.10°)
OKLaboklab(46% 0.1662 0.0152)
OKLCHoklch(46% 0.167 5.2)
XYZxyz(15.5455, 8.4171, 7.4613)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A4B #1A9D6C
analogous
#9D1A8C #9D1A4B #9D2A1A
triadic
#9D1A4B #4B9D1A #1A4B9D
tetradic
#9D1A4B #8C9D1A #1A9D6C #2A1A9D
square
#9D1A4B #8C9D1A #1A9D6C #2A1A9D
split-complementary
#9D1A4B #1A9D2A #1A8C9D
monochromatic
#340919 #681132 #9D1A4B #D22364 #E24F86

Accessibility & contrast

On white

7.83
#9D1A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9D1A4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1A4B
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A4B#FFFFFF#000000##FFFFFF
##9D1A4B1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E424C
Deuteranopia (green-blind)
#605B48
Tritanopia (blue-blind)
#AC0030
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1a4b;
/* rgb */ color: rgb(157, 26, 75);
/* oklch */ color: oklch(46.0% 0.167 5.2);
Tailwind
colors: {
  custom: {
    50: '#c0677d',
    500: '#9d1a4b',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a4b;
$custom-light: #c0677d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a4b",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 75
  },
  "hsl": {
    "h": 337.557,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45998,
    "c": 0.1669,
    "h": 5.2
  },
  "luminance": 0.08415
}

Semantic roles & 50–950 ramp

primary
#9D1A4B
secondary
#4EC498
accent
#EEAB39
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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