#9D1F44#9D1F44

#9D1F44 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.161 H 9.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9D1F44
RGBrgb(157, 31, 68)
HSLhsl(342, 67%, 37%)
HSVhsv(342, 80%, 62%)
CMYKcmyk(0%, 80.3%, 56.7%, 38.4%)
CIE-LABlab(35.14, 52.39, 10.78)
CIE-LCHlch(35.14, 53.49, 11.63°)
OKLaboklab(46.16% 0.1591 0.0272)
OKLCHoklch(46.16% 0.161 9.7)
XYZxyz(15.4395, 8.5677, 6.3085)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F44 #1F9D78
analogous
#9D1F83 #9D1F44 #9D391F
triadic
#9D1F44 #449D1F #1F449D
tetradic
#9D1F44 #839D1F #1F9D78 #391F9D
square
#9D1F44 #839D1F #1F9D78 #391F9D
split-complementary
#9D1F44 #1F9D39 #1F839D
monochromatic
#370B18 #6A152E #9D1F44 #D0295A #DE5880

Accessibility & contrast

On white

7.74
#9D1F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9D1F44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F44
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F44#FFFFFF#000000##FFFFFF
##9D1F441.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424245
Deuteranopia (green-blind)
#625C41
Tritanopia (blue-blind)
#AC002F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1f44;
/* rgb */ color: rgb(157, 31, 68);
/* oklch */ color: oklch(46.2% 0.161 9.7);
Tailwind
colors: {
  custom: {
    50: '#c06877',
    500: '#9d1f44',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f44;
$custom-light: #c06877;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f44",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 68
  },
  "hsl": {
    "h": 342.381,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4616,
    "c": 0.16136,
    "h": 9.7
  },
  "luminance": 0.08565
}

Semantic roles & 50–950 ramp

primary
#9D1F44
secondary
#56C2A2
accent
#EAB73E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9D1F44

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

Preview Lab → · Contrast checker → · Palette generator →

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