#9D1B4F#9D1B4F

#9D1B4F is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.167 H 3.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9D1B4F
RGBrgb(157, 27, 79)
HSLhsl(336, 71%, 36%)
HSVhsv(336, 83%, 62%)
CMYKcmyk(0%, 82.8%, 49.7%, 38.4%)
CIE-LABlab(35.04, 54.39, 3.50)
CIE-LCHlch(35.04, 54.50, 3.68°)
OKLaboklab(46.18% 0.1668 0.0095)
OKLCHoklch(46.18% 0.167 3.3)
XYZxyz(15.7092, 8.5187, 8.2127)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1B4F #1B9D69
analogous
#9D1B90 #9D1B4F #9D281B
triadic
#9D1B4F #4F9D1B #1B4F9D
tetradic
#9D1B4F #909D1B #1B9D69 #281B9D
square
#9D1B4F #909D1B #1B9D69 #281B9D
split-complementary
#9D1B4F #1B9D28 #1B909D
monochromatic
#35091A #691235 #9D1B4F #D12469 #E1518B

Accessibility & contrast

On white

7.77
#9D1B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9D1B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1B4F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1B4F#FFFFFF#000000##FFFFFF
##9D1B4F1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4250
Deuteranopia (green-blind)
#5F5B4C
Tritanopia (blue-blind)
#AB0033
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1b4f;
/* rgb */ color: rgb(157, 27, 79);
/* oklch */ color: oklch(46.2% 0.167 3.3);
Tailwind
colors: {
  custom: {
    50: '#c06780',
    500: '#9d1b4f',
    950: '#000000',
  },
}
SCSS
$custom: #9d1b4f;
$custom-light: #c06780;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1b4f",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 336,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46184,
    "c": 0.16711,
    "h": 3.3
  },
  "luminance": 0.08516
}

Semantic roles & 50–950 ramp

primary
#9D1B4F
secondary
#50C495
accent
#EDA63A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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