#9D1E4B#9D1E4B

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

Color values

HEX#9D1E4B
RGBrgb(157, 30, 75)
HSLhsl(339, 68%, 37%)
HSVhsv(339, 81%, 62%)
CMYKcmyk(0%, 80.9%, 52.2%, 38.4%)
CIE-LABlab(35.22, 53.23, 6.34)
CIE-LCHlch(35.22, 53.61, 6.80°)
OKLaboklab(46.28% 0.1627 0.0166)
OKLCHoklch(46.28% 0.164 5.8)
XYZxyz(15.6403, 8.6069, 7.4930)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E4B #1E9D70
analogous
#9D1E8B #9D1E4B #9D311E
triadic
#9D1E4B #4B9D1E #1E4B9D
tetradic
#9D1E4B #8B9D1E #1E9D70 #311E9D
square
#9D1E4B #8B9D1E #1E9D70 #311E9D
split-complementary
#9D1E4B #1E9D31 #1E8B9D
monochromatic
#360A1A #6A1432 #9D1E4B #D02864 #DF5787

Accessibility & contrast

On white

7.72
#9D1E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9D1E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E4B
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E4B#FFFFFF#000000##FFFFFF
##9D1E4B1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.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: #9d1e4b;
/* rgb */ color: rgb(157, 30, 75);
/* oklch */ color: oklch(46.3% 0.164 5.8);
Tailwind
colors: {
  custom: {
    50: '#c0687d',
    500: '#9d1e4b',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e4b;
$custom-light: #c0687d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e4b",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 75
  },
  "hsl": {
    "h": 338.74,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46276,
    "c": 0.16355,
    "h": 5.8
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

primary
#9D1E4B
secondary
#54C29B
accent
#EBAD3D
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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