#9D1F5F#9D1F5F

#9D1F5F is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.169 H 355.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#9D1F5F
RGBrgb(157, 31, 95)
HSLhsl(330, 67%, 37%)
HSVhsv(330, 80%, 62%)
CMYKcmyk(0%, 80.3%, 39.5%, 38.4%)
CIE-LABlab(35.94, 54.83, -5.51)
CIE-LCHlch(35.94, 55.11, 354.26°)
OKLaboklab(47.01% 0.1686 -0.0138)
OKLCHoklch(47.01% 0.169 355.3)
XYZxyz(16.4613, 8.9764, 11.6900)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F5F #1F9D5D
analogous
#9C1F9D #9D1F5F #9D1F20
triadic
#9D1F5F #5F9D1F #1F5F9D
tetradic
#9D1F5F #9D9C1F #1F9D5D #1F209D
square
#9D1F5F #9D9C1F #1F9D5D #1F209D
split-complementary
#9D1F5F #209D1F #1F9D9C
monochromatic
#370B21 #6A1540 #9D1F5F #D0297E #DE589C

Accessibility & contrast

On white

7.51
#9D1F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9D1F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F5F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F5F#FFFFFF#000000##FFFFFF
##9D1F5F1.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4661
Deuteranopia (green-blind)
#5D5D5C
Tritanopia (blue-blind)
#AA0B3C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d1f5f;
/* rgb */ color: rgb(157, 31, 95);
/* oklch */ color: oklch(47.0% 0.169 355.3);
Tailwind
colors: {
  custom: {
    50: '#bf698c',
    500: '#9d1f5f',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f5f;
$custom-light: #bf698c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f5f",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 95
  },
  "hsl": {
    "h": 329.524,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47009,
    "c": 0.16921,
    "h": 355.3
  },
  "luminance": 0.08974
}

Semantic roles & 50–950 ramp

primary
#9D1F5F
secondary
#56C28B
accent
#EA933E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D1F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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