#9D1B49#9D1B49

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

Color values

HEX#9D1B49
RGBrgb(157, 27, 73)
HSLhsl(339, 71%, 36%)
HSVhsv(339, 83%, 62%)
CMYKcmyk(0%, 82.8%, 53.5%, 38.4%)
CIE-LABlab(34.87, 53.89, 7.16)
CIE-LCHlch(34.87, 54.37, 7.57°)
OKLaboklab(46.01% 0.1646 0.0185)
OKLCHoklch(46.01% 0.166 6.4)
XYZxyz(15.5006, 8.4352, 7.1140)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1B49 #1B9D6F
analogous
#9D1B8A #9D1B49 #9D2E1B
triadic
#9D1B49 #499D1B #1B499D
tetradic
#9D1B49 #8A9D1B #1B9D6F #2E1B9D
square
#9D1B49 #8A9D1B #1B9D6F #2E1B9D
split-complementary
#9D1B49 #1B9D2E #1B8A9D
monochromatic
#350918 #691231 #9D1B49 #D12461 #E15184

Accessibility & contrast

On white

7.82
#9D1B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1B49
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1B49#FFFFFF#000000##FFFFFF
##9D1B491.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1b49;
/* rgb */ color: rgb(157, 27, 73);
/* oklch */ color: oklch(46.0% 0.166 6.4);
Tailwind
colors: {
  custom: {
    50: '#c0677b',
    500: '#9d1b49',
    950: '#000000',
  },
}
SCSS
$custom: #9d1b49;
$custom-light: #c0677b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1b49",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 73
  },
  "hsl": {
    "h": 338.769,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46007,
    "c": 0.16565,
    "h": 6.4
  },
  "luminance": 0.08433
}

Semantic roles & 50–950 ramp

primary
#9D1B49
secondary
#50C49B
accent
#EDAE3A
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1B49

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

Preview Lab → · Contrast checker → · Palette generator →

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