#9D1F55#9D1F55

#9D1F55 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.165 H 0.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#9D1F55
RGBrgb(157, 31, 85)
HSLhsl(334, 67%, 37%)
HSVhsv(334, 80%, 62%)
CMYKcmyk(0%, 80.3%, 45.9%, 38.4%)
CIE-LABlab(35.61, 53.83, 0.44)
CIE-LCHlch(35.61, 53.83, 0.46°)
OKLaboklab(46.66% 0.1654 0.0017)
OKLCHoklch(46.66% 0.165 0.6)
XYZxyz(16.0356, 8.8061, 9.4479)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F55 #1F9D67
analogous
#9D1F94 #9D1F55 #9D281F
triadic
#9D1F55 #559D1F #1F559D
tetradic
#9D1F55 #949D1F #1F9D67 #281F9D
square
#9D1F55 #949D1F #1F9D67 #281F9D
split-complementary
#9D1F55 #1F9D28 #1F949D
monochromatic
#370B1E #6A1539 #9D1F55 #D02971 #DE5892

Accessibility & contrast

On white

7.61
#9D1F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9D1F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F55
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F55#FFFFFF#000000##FFFFFF
##9D1F551.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4456
Deuteranopia (green-blind)
#5F5C52
Tritanopia (blue-blind)
#AB0037
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d1f55;
/* rgb */ color: rgb(157, 31, 85);
/* oklch */ color: oklch(46.7% 0.165 0.6);
Tailwind
colors: {
  custom: {
    50: '#bf6984',
    500: '#9d1f55',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f55;
$custom-light: #bf6984;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f55",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 85
  },
  "hsl": {
    "h": 334.286,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46659,
    "c": 0.16542,
    "h": 0.6
  },
  "luminance": 0.08804
}

Semantic roles & 50–950 ramp

primary
#9D1F55
secondary
#56C294
accent
#EAA03E
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1F55

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

Preview Lab → · Contrast checker → · Palette generator →

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