#9D1A48#9D1A48

#9D1A48 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.166 H 6.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#9D1A48
RGBrgb(157, 26, 72)
HSLhsl(339, 72%, 36%)
HSVhsv(339, 83%, 62%)
CMYKcmyk(0%, 83.4%, 54.1%, 38.4%)
CIE-LABlab(34.76, 54.07, 7.65)
CIE-LCHlch(34.76, 54.61, 8.05°)
OKLaboklab(45.91% 0.1651 0.0197)
OKLCHoklch(45.91% 0.166 6.8)
XYZxyz(15.4452, 8.3770, 6.9333)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A48 #1A9D6F
analogous
#9D1A89 #9D1A48 #9D2D1A
triadic
#9D1A48 #489D1A #1A489D
tetradic
#9D1A48 #899D1A #1A9D6F #2D1A9D
square
#9D1A48 #899D1A #1A9D6F #2D1A9D
split-complementary
#9D1A48 #1A9D2D #1A899D
monochromatic
#340918 #681130 #9D1A48 #D22360 #E24F83

Accessibility & contrast

On white

7.85
#9D1A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9D1A48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1A48
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A48#FFFFFF#000000##FFFFFF
##9D1A481.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1a48;
/* rgb */ color: rgb(157, 26, 72);
/* oklch */ color: oklch(45.9% 0.166 6.8);
Tailwind
colors: {
  custom: {
    50: '#c0677a',
    500: '#9d1a48',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a48;
$custom-light: #c0677a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a48",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 72
  },
  "hsl": {
    "h": 338.931,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45912,
    "c": 0.16623,
    "h": 6.8
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#9D1A48
secondary
#4EC49B
accent
#EEAF39
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1A48

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

Preview Lab → · Contrast checker → · Palette generator →

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