#9B1A4A#9B1A4A

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

Color values

HEX#9B1A4A
RGBrgb(155, 26, 74)
HSLhsl(338, 71%, 35%)
HSVhsv(338, 83%, 61%)
CMYKcmyk(0%, 83.2%, 52.3%, 39.2%)
CIE-LABlab(34.40, 53.69, 5.79)
CIE-LCHlch(34.40, 54.00, 6.15°)
OKLaboklab(45.6% 0.1643 0.0152)
OKLCHoklch(45.6% 0.165 5.3)
XYZxyz(15.1244, 8.2039, 7.2644)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1A4A #1A9B6B
analogous
#9B1A8B #9B1A4A #9B2A1A
triadic
#9B1A4A #4A9B1A #1A4A9B
tetradic
#9B1A4A #8B9B1A #1A9B6B #2A1A9B
square
#9B1A4A #8B9B1A #1A9B6B #2A1A9B
split-complementary
#9B1A4A #1A9B2A #1A8B9B
monochromatic
#320818 #671131 #9B1A4A #CF2363 #E14E85

Accessibility & contrast

On white

7.95
#9B1A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1A4A
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1A4A#FFFFFF#000000##FFFFFF
##9B1A4A1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414B
Deuteranopia (green-blind)
#5F5A47
Tritanopia (blue-blind)
#A90030
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b1a4a;
/* rgb */ color: rgb(155, 26, 74);
/* oklch */ color: oklch(45.6% 0.165 5.3);
Tailwind
colors: {
  custom: {
    50: '#bf667c',
    500: '#9b1a4a',
    950: '#000000',
  },
}
SCSS
$custom: #9b1a4a;
$custom-light: #bf667c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1a4a",
  "rgb": {
    "r": 155,
    "g": 26,
    "b": 74
  },
  "hsl": {
    "h": 337.674,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45599,
    "c": 0.16497,
    "h": 5.3
  },
  "luminance": 0.08202
}

Semantic roles & 50–950 ramp

primary
#9B1A4A
secondary
#4DC498
accent
#EEAB3A
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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