#9A1B3F#9A1B3F

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

Color values

HEX#9A1B3F
RGBrgb(154, 27, 63)
HSLhsl(343, 70%, 35%)
HSVhsv(343, 82%, 60%)
CMYKcmyk(0%, 82.5%, 59.1%, 39.6%)
CIE-LABlab(34.01, 52.30, 12.39)
CIE-LCHlch(34.01, 53.75, 13.33°)
OKLaboklab(45.18% 0.1583 0.0309)
OKLCHoklch(45.18% 0.161 11)
XYZxyz(14.6170, 8.0150, 5.4790)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1B3F #1B9A76
analogous
#9A1B7E #9A1B3F #9A361B
triadic
#9A1B3F #3F9A1B #1B3F9A
tetradic
#9A1B3F #7E9A1B #1B9A76 #361B9A
square
#9A1B3F #7E9A1B #1B9A76 #361B9A
split-complementary
#9A1B3F #1B9A36 #1B7E9A
monochromatic
#320914 #66122A #9A1B3F #CE2454 #E04F78

Accessibility & contrast

On white

8.07
#9A1B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#9A1B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1B3F
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1B3F#FFFFFF#000000##FFFFFF
##9A1B3F1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404040
Deuteranopia (green-blind)
#60593C
Tritanopia (blue-blind)
#A9002B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9a1b3f;
/* rgb */ color: rgb(154, 27, 63);
/* oklch */ color: oklch(45.2% 0.161 11.0);
Tailwind
colors: {
  custom: {
    50: '#be6673',
    500: '#9a1b3f',
    950: '#000000',
  },
}
SCSS
$custom: #9a1b3f;
$custom-light: #be6673;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1b3f",
  "rgb": {
    "r": 154,
    "g": 27,
    "b": 63
  },
  "hsl": {
    "h": 342.992,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45185,
    "c": 0.16132,
    "h": 11
  },
  "luminance": 0.08013
}

Semantic roles & 50–950 ramp

primary
#9A1B3F
secondary
#4EC3A2
accent
#EDBA3B
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130708
muted
#827A7B

Preview Lab

Preview with #9A1B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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