#9D1A3C#9D1A3C

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

Color values

HEX#9D1A3C
RGBrgb(157, 26, 60)
HSLhsl(344, 72%, 36%)
HSVhsv(344, 83%, 62%)
CMYKcmyk(0%, 83.4%, 61.8%, 38.4%)
CIE-LABlab(34.47, 53.21, 15.07)
CIE-LCHlch(34.47, 55.30, 15.81°)
OKLaboklab(45.61% 0.1603 0.037)
OKLCHoklch(45.61% 0.165 13)
XYZxyz(15.0912, 8.2354, 5.0691)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A3C #1A9D7B
analogous
#9D1A7D #9D1A3C #9D391A
triadic
#9D1A3C #3C9D1A #1A3C9D
tetradic
#9D1A3C #7D9D1A #1A9D7B #391A9D
square
#9D1A3C #7D9D1A #1A9D7B #391A9D
split-complementary
#9D1A3C #1A9D39 #1A7D9D
monochromatic
#340914 #681128 #9D1A3C #D22350 #E24F75

Accessibility & contrast

On white

7.93
#9D1A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9D1A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1A3C
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A3C#FFFFFF#000000##FFFFFF
##9D1A3C1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1a3c;
/* rgb */ color: rgb(157, 26, 60);
/* oklch */ color: oklch(45.6% 0.165 13.0);
Tailwind
colors: {
  custom: {
    50: '#c16671',
    500: '#9d1a3c',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a3c;
$custom-light: #c16671;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a3c",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 60
  },
  "hsl": {
    "h": 344.427,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45607,
    "c": 0.16452,
    "h": 13
  },
  "luminance": 0.08233
}

Semantic roles & 50–950 ramp

primary
#9D1A3C
secondary
#4EC4A6
accent
#EEBF39
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D1A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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