#9D1F54#9D1F54

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

Color values

HEX#9D1F54
RGBrgb(157, 31, 84)
HSLhsl(335, 67%, 37%)
HSVhsv(335, 80%, 62%)
CMYKcmyk(0%, 80.3%, 46.5%, 38.4%)
CIE-LABlab(35.58, 53.74, 1.04)
CIE-LCHlch(35.58, 53.75, 1.11°)
OKLaboklab(46.63% 0.1651 0.0033)
OKLCHoklch(46.63% 0.165 1.1)
XYZxyz(15.9962, 8.7903, 9.2402)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F54 #1F9D68
analogous
#9D1F93 #9D1F54 #9D291F
triadic
#9D1F54 #549D1F #1F549D
tetradic
#9D1F54 #939D1F #1F9D68 #291F9D
square
#9D1F54 #939D1F #1F9D68 #291F9D
split-complementary
#9D1F54 #1F9D29 #1F939D
monochromatic
#370B1D #6A1539 #9D1F54 #D0296F #DE5891

Accessibility & contrast

On white

7.62
#9D1F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1F54
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F54#FFFFFF#000000##FFFFFF
##9D1F541.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1f54;
/* rgb */ color: rgb(157, 31, 84);
/* oklch */ color: oklch(46.6% 0.165 1.1);
Tailwind
colors: {
  custom: {
    50: '#bf6983',
    500: '#9d1f54',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f54;
$custom-light: #bf6983;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f54",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 84
  },
  "hsl": {
    "h": 334.762,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46626,
    "c": 0.16509,
    "h": 1.1
  },
  "luminance": 0.08788
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D1F54

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

Preview Lab → · Contrast checker → · Palette generator →

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