#9D1A3B#9D1A3B

#9D1A3B is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.164 H 13.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#9D1A3B
RGBrgb(157, 26, 59)
HSLhsl(345, 72%, 36%)
HSVhsv(345, 83%, 62%)
CMYKcmyk(0%, 83.4%, 62.4%, 38.4%)
CIE-LABlab(34.45, 53.15, 15.69)
CIE-LCHlch(34.45, 55.41, 16.45°)
OKLaboklab(45.58% 0.1599 0.0384)
OKLCHoklch(45.58% 0.164 13.5)
XYZxyz(15.0650, 8.2250, 4.9311)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A3B #1A9D7C
analogous
#9D1A7C #9D1A3B #9D3A1A
triadic
#9D1A3B #3B9D1A #1A3B9D
tetradic
#9D1A3B #7C9D1A #1A9D7C #3A1A9D
square
#9D1A3B #7C9D1A #1A9D7C #3A1A9D
split-complementary
#9D1A3B #1A9D3A #1A7C9D
monochromatic
#340914 #681127 #9D1A3B #D2234F #E24F74

Accessibility & contrast

On white

7.94
#9D1A3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9D1A3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1A3B
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A3B#FFFFFF#000000##FFFFFF
##9D1A3B1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41403B
Deuteranopia (green-blind)
#625B37
Tritanopia (blue-blind)
#AC0029
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1a3b;
/* rgb */ color: rgb(157, 26, 59);
/* oklch */ color: oklch(45.6% 0.164 13.5);
Tailwind
colors: {
  custom: {
    50: '#c16670',
    500: '#9d1a3b',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a3b;
$custom-light: #c16670;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a3b",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 59
  },
  "hsl": {
    "h": 344.885,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45584,
    "c": 0.16444,
    "h": 13.5
  },
  "luminance": 0.08223
}

Semantic roles & 50–950 ramp

primary
#9D1A3B
secondary
#4EC4A7
accent
#EEC139
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D1A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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