#9D1F4B#9D1F4B

#9D1F4B is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.163 H 6.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9D1F4B
RGBrgb(157, 31, 75)
HSLhsl(339, 67%, 37%)
HSVhsv(339, 80%, 62%)
CMYKcmyk(0%, 80.3%, 52.2%, 38.4%)
CIE-LABlab(35.32, 52.94, 6.49)
CIE-LCHlch(35.32, 53.34, 6.99°)
OKLaboklab(46.35% 0.1618 0.0169)
OKLCHoklch(46.35% 0.163 6)
XYZxyz(15.6660, 8.6583, 7.5015)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F4B #1F9D71
analogous
#9D1F8A #9D1F4B #9D321F
triadic
#9D1F4B #4B9D1F #1F4B9D
tetradic
#9D1F4B #8A9D1F #1F9D71 #321F9D
square
#9D1F4B #8A9D1F #1F9D71 #321F9D
split-complementary
#9D1F4B #1F9D32 #1F8A9D
monochromatic
#370B1A #6A1533 #9D1F4B #D02963 #DE5887

Accessibility & contrast

On white

7.69
#9D1F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1F4B
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F4B#FFFFFF#000000##FFFFFF
##9D1F4B1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40434C
Deuteranopia (green-blind)
#615C48
Tritanopia (blue-blind)
#AB0032
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1f4b;
/* rgb */ color: rgb(157, 31, 75);
/* oklch */ color: oklch(46.4% 0.163 6.0);
Tailwind
colors: {
  custom: {
    50: '#c0687d',
    500: '#9d1f4b',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f4b;
$custom-light: #c0687d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f4b",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 339.048,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46351,
    "c": 0.16266,
    "h": 6
  },
  "luminance": 0.08656
}

Semantic roles & 50–950 ramp

primary
#9D1F4B
secondary
#56C29C
accent
#EAAE3E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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