#9D1F53#9D1F53

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

Color values

HEX#9D1F53
RGBrgb(157, 31, 83)
HSLhsl(335, 67%, 37%)
HSVhsv(335, 80%, 62%)
CMYKcmyk(0%, 80.3%, 47.1%, 38.4%)
CIE-LABlab(35.55, 53.65, 1.64)
CIE-LCHlch(35.55, 53.67, 1.75°)
OKLaboklab(46.59% 0.1647 0.0048)
OKLCHoklch(46.59% 0.165 1.7)
XYZxyz(15.9573, 8.7748, 9.0354)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F53 #1F9D69
analogous
#9D1F92 #9D1F53 #9D2A1F
triadic
#9D1F53 #539D1F #1F539D
tetradic
#9D1F53 #929D1F #1F9D69 #2A1F9D
square
#9D1F53 #929D1F #1F9D69 #2A1F9D
split-complementary
#9D1F53 #1F9D2A #1F929D
monochromatic
#370B1D #6A1538 #9D1F53 #D0296E #DE5890

Accessibility & contrast

On white

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

On black

2.75
#9D1F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9D1F53#FFFFFF#000000##FFFFFF
##9D1F531.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4454
Deuteranopia (green-blind)
#605C50
Tritanopia (blue-blind)
#AB0036
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d1f53;
/* rgb */ color: rgb(157, 31, 83);
/* oklch */ color: oklch(46.6% 0.165 1.7);
Tailwind
colors: {
  custom: {
    50: '#bf6983',
    500: '#9d1f53',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f53;
$custom-light: #bf6983;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f53",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 335.238,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46594,
    "c": 0.16478,
    "h": 1.7
  },
  "luminance": 0.08773
}

Semantic roles & 50–950 ramp

primary
#9D1F53
secondary
#56C295
accent
#EAA33E
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D1F53

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

Preview Lab → · Contrast checker → · Palette generator →

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