#9D1F58#9D1F58

#9D1F58 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.166 H 359.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#9D1F58
RGBrgb(157, 31, 88)
HSLhsl(333, 67%, 37%)
HSVhsv(333, 80%, 62%)
CMYKcmyk(0%, 80.3%, 43.9%, 38.4%)
CIE-LABlab(35.70, 54.12, -1.36)
CIE-LCHlch(35.70, 54.14, 358.56°)
OKLaboklab(46.76% 0.1664 -0.0029)
OKLCHoklch(46.76% 0.166 359)
XYZxyz(16.1573, 8.8548, 10.0890)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F58 #1F9D64
analogous
#9D1F97 #9D1F58 #9D251F
triadic
#9D1F58 #589D1F #1F589D
tetradic
#9D1F58 #979D1F #1F9D64 #251F9D
square
#9D1F58 #979D1F #1F9D64 #251F9D
split-complementary
#9D1F58 #1F9D25 #1F979D
monochromatic
#370B1F #6A153B #9D1F58 #D02975 #DE5895

Accessibility & contrast

On white

7.58
#9D1F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9D1F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F58
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F58#FFFFFF#000000##FFFFFF
##9D1F581.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4559
Deuteranopia (green-blind)
#5F5D55
Tritanopia (blue-blind)
#AB0239
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d1f58;
/* rgb */ color: rgb(157, 31, 88);
/* oklch */ color: oklch(46.8% 0.166 359.0);
Tailwind
colors: {
  custom: {
    50: '#bf6987',
    500: '#9d1f58',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f58;
$custom-light: #bf6987;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f58",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 332.857,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46759,
    "c": 0.16645,
    "h": 359
  },
  "luminance": 0.08853
}

Semantic roles & 50–950 ramp

primary
#9D1F58
secondary
#56C291
accent
#EA9C3E
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D1F58

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

Preview Lab → · Contrast checker → · Palette generator →

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