#9D1F4F#9D1F4F

#9D1F4F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.164 H 3.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9D1F4F
RGBrgb(157, 31, 79)
HSLhsl(337, 67%, 37%)
HSVhsv(337, 80%, 62%)
CMYKcmyk(0%, 80.3%, 49.7%, 38.4%)
CIE-LABlab(35.43, 53.29, 4.06)
CIE-LCHlch(35.43, 53.44, 4.35°)
OKLaboklab(46.47% 0.1633 0.0109)
OKLCHoklch(46.47% 0.164 3.8)
XYZxyz(15.8073, 8.7148, 8.2454)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F4F #1F9D6D
analogous
#9D1F8E #9D1F4F #9D2E1F
triadic
#9D1F4F #4F9D1F #1F4F9D
tetradic
#9D1F4F #8E9D1F #1F9D6D #2E1F9D
square
#9D1F4F #8E9D1F #1F9D6D #2E1F9D
split-complementary
#9D1F4F #1F9D2E #1F8E9D
monochromatic
#370B1C #6A1535 #9D1F4F #D02969 #DE588B

Accessibility & contrast

On white

7.66
#9D1F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9D1F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F4F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F4F#FFFFFF#000000##FFFFFF
##9D1F4F1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4450
Deuteranopia (green-blind)
#605C4C
Tritanopia (blue-blind)
#AB0034
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1f4f;
/* rgb */ color: rgb(157, 31, 79);
/* oklch */ color: oklch(46.5% 0.164 3.8);
Tailwind
colors: {
  custom: {
    50: '#c06980',
    500: '#9d1f4f',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f4f;
$custom-light: #c06980;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f4f",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 337.143,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46469,
    "c": 0.16363,
    "h": 3.8
  },
  "luminance": 0.08713
}

Semantic roles & 50–950 ramp

primary
#9D1F4F
secondary
#56C299
accent
#EAA83E
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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