#9A1B41#9A1B41

#9A1B41 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.162 H 10.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#9A1B41
RGBrgb(154, 27, 65)
HSLhsl(342, 70%, 35%)
HSVhsv(342, 82%, 60%)
CMYKcmyk(0%, 82.5%, 57.8%, 39.6%)
CIE-LABlab(34.06, 52.45, 11.15)
CIE-LCHlch(34.06, 53.62, 12.00°)
OKLaboklab(45.24% 0.1591 0.028)
OKLCHoklch(45.24% 0.162 10)
XYZxyz(14.6740, 8.0377, 5.7788)
Luminance0.0804 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1B41 #1B9A74
analogous
#9A1B80 #9A1B41 #9A341B
triadic
#9A1B41 #419A1B #1B419A
tetradic
#9A1B41 #809A1B #1B9A74 #341B9A
square
#9A1B41 #809A1B #1B9A74 #341B9A
split-complementary
#9A1B41 #1B9A34 #1B809A
monochromatic
#320915 #66122B #9A1B41 #CE2457 #E04F7B

Accessibility & contrast

On white

8.05
#9A1B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#9A1B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1B41
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1B41#FFFFFF#000000##FFFFFF
##9A1B411.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4042
Deuteranopia (green-blind)
#60593E
Tritanopia (blue-blind)
#A9002C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9a1b41;
/* rgb */ color: rgb(154, 27, 65);
/* oklch */ color: oklch(45.2% 0.162 10.0);
Tailwind
colors: {
  custom: {
    50: '#be6675',
    500: '#9a1b41',
    950: '#000000',
  },
}
SCSS
$custom: #9a1b41;
$custom-light: #be6675;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1b41",
  "rgb": {
    "r": 154,
    "g": 27,
    "b": 65
  },
  "hsl": {
    "h": 342.047,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45235,
    "c": 0.16158,
    "h": 10
  },
  "luminance": 0.08036
}

Semantic roles & 50–950 ramp

primary
#9A1B41
secondary
#4EC3A0
accent
#EDB83B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9A1B41

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

Preview Lab → · Contrast checker → · Palette generator →

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