#9D1F49#9D1F49

#9D1F49 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.162 H 7.0°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#9D1F49
RGBrgb(157, 31, 73)
HSLhsl(340, 67%, 37%)
HSVhsv(340, 80%, 62%)
CMYKcmyk(0%, 80.3%, 53.5%, 38.4%)
CIE-LABlab(35.26, 52.78, 7.71)
CIE-LCHlch(35.26, 53.34, 8.31°)
OKLaboklab(46.29% 0.161 0.0199)
OKLCHoklch(46.29% 0.162 7)
XYZxyz(15.5987, 8.6313, 7.1467)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F49 #1F9D73
analogous
#9D1F88 #9D1F49 #9D341F
triadic
#9D1F49 #499D1F #1F499D
tetradic
#9D1F49 #889D1F #1F9D73 #341F9D
square
#9D1F49 #889D1F #1F9D73 #341F9D
split-complementary
#9D1F49 #1F9D34 #1F889D
monochromatic
#370B19 #6A1531 #9D1F49 #D02961 #DE5885

Accessibility & contrast

On white

7.70
#9D1F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9D1F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F49
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F49#FFFFFF#000000##FFFFFF
##9D1F491.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41434A
Deuteranopia (green-blind)
#615C46
Tritanopia (blue-blind)
#AC0032
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1f49;
/* rgb */ color: rgb(157, 31, 73);
/* oklch */ color: oklch(46.3% 0.162 7.0);
Tailwind
colors: {
  custom: {
    50: '#c0687b',
    500: '#9d1f49',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f49;
$custom-light: #c0687b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f49",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 73
  },
  "hsl": {
    "h": 340,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46294,
    "c": 0.16223,
    "h": 7
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#9D1F49
secondary
#56C29E
accent
#EAB13E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1F49

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

Preview Lab → · Contrast checker → · Palette generator →

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