#9D1A49#9D1A49

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

Color values

HEX#9D1A49
RGBrgb(157, 26, 73)
HSLhsl(338, 72%, 36%)
HSVhsv(338, 83%, 62%)
CMYKcmyk(0%, 83.4%, 53.5%, 38.4%)
CIE-LABlab(34.78, 54.15, 7.03)
CIE-LCHlch(34.78, 54.61, 7.40°)
OKLaboklab(45.94% 0.1654 0.0182)
OKLCHoklch(45.94% 0.166 6.3)
XYZxyz(15.4781, 8.3902, 7.1065)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A49 #1A9D6E
analogous
#9D1A8A #9D1A49 #9D2C1A
triadic
#9D1A49 #499D1A #1A499D
tetradic
#9D1A49 #8A9D1A #1A9D6E #2C1A9D
square
#9D1A49 #8A9D1A #1A9D6E #2C1A9D
split-complementary
#9D1A49 #1A9D2C #1A8A9D
monochromatic
#340918 #681131 #9D1A49 #D22361 #E24F84

Accessibility & contrast

On white

7.84
#9D1A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1A49
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A49#FFFFFF#000000##FFFFFF
##9D1A491.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1a49;
/* rgb */ color: rgb(157, 26, 73);
/* oklch */ color: oklch(45.9% 0.166 6.3);
Tailwind
colors: {
  custom: {
    50: '#c0677b',
    500: '#9d1a49',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a49;
$custom-light: #c0677b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a49",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 73
  },
  "hsl": {
    "h": 338.473,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4594,
    "c": 0.16644,
    "h": 6.3
  },
  "luminance": 0.08388
}

Semantic roles & 50–950 ramp

primary
#9D1A49
secondary
#4EC49A
accent
#EEAD39
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D1A49

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

Preview Lab → · Contrast checker → · Palette generator →

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