#9D1948#9D1948

#9D1948 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.167 H 6.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#9D1948
RGBrgb(157, 25, 72)
HSLhsl(339, 73%, 36%)
HSVhsv(339, 84%, 62%)
CMYKcmyk(0%, 84.1%, 54.1%, 38.4%)
CIE-LABlab(34.67, 54.32, 7.52)
CIE-LCHlch(34.67, 54.84, 7.88°)
OKLaboklab(45.85% 0.1659 0.0194)
OKLCHoklch(45.85% 0.167 6.7)
XYZxyz(15.4234, 8.3335, 6.9260)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1948 #199D6E
analogous
#9D198A #9D1948 #9D2C19
triadic
#9D1948 #489D19 #19489D
tetradic
#9D1948 #8A9D19 #199D6E #2C199D
square
#9D1948 #8A9D19 #199D6E #2C199D
split-complementary
#9D1948 #199D2C #198A9D
monochromatic
#330818 #681130 #9D1948 #D22160 #E34E83

Accessibility & contrast

On white

7.88
#9D1948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9D1948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1948
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1948#FFFFFF#000000##FFFFFF
##9D19481.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4149
Deuteranopia (green-blind)
#605B45
Tritanopia (blue-blind)
#AC002F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1948;
/* rgb */ color: rgb(157, 25, 72);
/* oklch */ color: oklch(45.8% 0.167 6.7);
Tailwind
colors: {
  custom: {
    50: '#c0667a',
    500: '#9d1948',
    950: '#000000',
  },
}
SCSS
$custom: #9d1948;
$custom-light: #c0667a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1948",
  "rgb": {
    "r": 157,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 338.636,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45847,
    "c": 0.16701,
    "h": 6.7
  },
  "luminance": 0.08331
}

Semantic roles & 50–950 ramp

primary
#9D1948
secondary
#4DC59A
accent
#EFAE39
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1948

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

Preview Lab → · Contrast checker → · Palette generator →

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