#9D1A47#9D1A47

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

Color values

HEX#9D1A47
RGBrgb(157, 26, 71)
HSLhsl(339, 72%, 36%)
HSVhsv(339, 83%, 62%)
CMYKcmyk(0%, 83.4%, 54.8%, 38.4%)
CIE-LABlab(34.73, 53.99, 8.26)
CIE-LCHlch(34.73, 54.62, 8.70°)
OKLaboklab(45.88% 0.1647 0.0212)
OKLCHoklch(45.88% 0.166 7.3)
XYZxyz(15.4128, 8.3641, 6.7629)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A47 #1A9D70
analogous
#9D1A88 #9D1A47 #9D2E1A
triadic
#9D1A47 #479D1A #1A479D
tetradic
#9D1A47 #889D1A #1A9D70 #2E1A9D
square
#9D1A47 #889D1A #1A9D70 #2E1A9D
split-complementary
#9D1A47 #1A9D2E #1A889D
monochromatic
#340918 #68112F #9D1A47 #D2235F #E24F82

Accessibility & contrast

On white

7.86
#9D1A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1A47
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A47#FFFFFF#000000##FFFFFF
##9D1A471.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4148
Deuteranopia (green-blind)
#615B44
Tritanopia (blue-blind)
#AC002F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1a47;
/* rgb */ color: rgb(157, 26, 71);
/* oklch */ color: oklch(45.9% 0.166 7.3);
Tailwind
colors: {
  custom: {
    50: '#c06779',
    500: '#9d1a47',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a47;
$custom-light: #c06779;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a47",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 339.389,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45884,
    "c": 0.16604,
    "h": 7.3
  },
  "luminance": 0.08362
}

Semantic roles & 50–950 ramp

primary
#9D1A47
secondary
#4EC49C
accent
#EEB039
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1A47

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

Preview Lab → · Contrast checker → · Palette generator →

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