#9D1B3D#9D1B3D

#9D1B3D is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.164 H 12.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#9D1B3D
RGBrgb(157, 27, 61)
HSLhsl(344, 71%, 36%)
HSVhsv(344, 83%, 62%)
CMYKcmyk(0%, 82.8%, 61.1%, 38.4%)
CIE-LABlab(34.58, 53.02, 14.57)
CIE-LCHlch(34.58, 54.98, 15.37°)
OKLaboklab(45.7% 0.1599 0.0359)
OKLCHoklch(45.7% 0.164 12.6)
XYZxyz(15.1404, 8.2912, 5.2171)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1B3D #1B9D7B
analogous
#9D1B7E #9D1B3D #9D3A1B
triadic
#9D1B3D #3D9D1B #1B3D9D
tetradic
#9D1B3D #7E9D1B #1B9D7B #3A1B9D
square
#9D1B3D #7E9D1B #1B9D7B #3A1B9D
split-complementary
#9D1B3D #1B9D3A #1B7E9D
monochromatic
#350914 #691229 #9D1B3D #D12451 #E15177

Accessibility & contrast

On white

7.90
#9D1B3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9D1B3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1B3D
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1B3D#FFFFFF#000000##FFFFFF
##9D1B3D1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.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: #9d1b3d;
/* rgb */ color: rgb(157, 27, 61);
/* oklch */ color: oklch(45.7% 0.164 12.6);
Tailwind
colors: {
  custom: {
    50: '#c16772',
    500: '#9d1b3d',
    950: '#000000',
  },
}
SCSS
$custom: #9d1b3d;
$custom-light: #c16772;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1b3d",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 61
  },
  "hsl": {
    "h": 344.308,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45698,
    "c": 0.16385,
    "h": 12.6
  },
  "luminance": 0.08289
}

Semantic roles & 50–950 ramp

primary
#9D1B3D
secondary
#50C4A6
accent
#EDBF3A
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D1B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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