#9D1A3D#9D1A3D

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

Color values

HEX#9D1A3D
RGBrgb(157, 26, 61)
HSLhsl(344, 72%, 36%)
HSVhsv(344, 83%, 62%)
CMYKcmyk(0%, 83.4%, 61.1%, 38.4%)
CIE-LABlab(34.49, 53.28, 14.45)
CIE-LCHlch(34.49, 55.20, 15.17°)
OKLaboklab(45.63% 0.1607 0.0356)
OKLCHoklch(45.63% 0.165 12.5)
XYZxyz(15.1179, 8.2461, 5.2096)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A3D #1A9D7A
analogous
#9D1A7E #9D1A3D #9D381A
triadic
#9D1A3D #3D9D1A #1A3D9D
tetradic
#9D1A3D #7E9D1A #1A9D7A #381A9D
square
#9D1A3D #7E9D1A #1A9D7A #381A9D
split-complementary
#9D1A3D #1A9D38 #1A7E9D
monochromatic
#340914 #681129 #9D1A3D #D22351 #E24F77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D1A3D#FFFFFF#000000##FFFFFF
##9D1A3D1.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)
#41403D
Deuteranopia (green-blind)
#625B3A
Tritanopia (blue-blind)
#AC002A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1a3d;
/* rgb */ color: rgb(157, 26, 61);
/* oklch */ color: oklch(45.6% 0.165 12.5);
Tailwind
colors: {
  custom: {
    50: '#c16672',
    500: '#9d1a3d',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a3d;
$custom-light: #c16672;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a3d",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 61
  },
  "hsl": {
    "h": 343.969,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4563,
    "c": 0.1646,
    "h": 12.5
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

primary
#9D1A3D
secondary
#4EC4A5
accent
#EEBE39
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D1A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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