#9D1F48#9D1F48

#9D1F48 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.162 H 7.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9D1F48
RGBrgb(157, 31, 72)
HSLhsl(340, 67%, 37%)
HSVhsv(340, 80%, 62%)
CMYKcmyk(0%, 80.3%, 54.1%, 38.4%)
CIE-LABlab(35.24, 52.70, 8.32)
CIE-LCHlch(35.24, 53.35, 8.97°)
OKLaboklab(46.27% 0.1606 0.0214)
OKLCHoklch(46.27% 0.162 7.6)
XYZxyz(15.5658, 8.6182, 6.9735)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F48 #1F9D74
analogous
#9D1F87 #9D1F48 #9D351F
triadic
#9D1F48 #489D1F #1F489D
tetradic
#9D1F48 #879D1F #1F9D74 #351F9D
square
#9D1F48 #879D1F #1F9D74 #351F9D
split-complementary
#9D1F48 #1F9D35 #1F879D
monochromatic
#370B19 #6A1531 #9D1F48 #D0295F #DE5884

Accessibility & contrast

On white

7.71
#9D1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9D1F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F48
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F48#FFFFFF#000000##FFFFFF
##9D1F481.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414349
Deuteranopia (green-blind)
#625C45
Tritanopia (blue-blind)
#AC0031
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1f48;
/* rgb */ color: rgb(157, 31, 72);
/* oklch */ color: oklch(46.3% 0.162 7.6);
Tailwind
colors: {
  custom: {
    50: '#c0687a',
    500: '#9d1f48',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f48;
$custom-light: #c0687a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f48",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 340.476,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46267,
    "c": 0.16204,
    "h": 7.6
  },
  "luminance": 0.08616
}

Semantic roles & 50–950 ramp

primary
#9D1F48
secondary
#56C29F
accent
#EAB23E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1F48

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

Preview Lab → · Contrast checker → · Palette generator →

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