#9A1B47#9A1B47

#9A1B47 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.163 H 6.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#9A1B47
RGBrgb(154, 27, 71)
HSLhsl(339, 70%, 35%)
HSVhsv(339, 82%, 60%)
CMYKcmyk(0%, 82.5%, 53.9%, 39.6%)
CIE-LABlab(34.21, 52.91, 7.45)
CIE-LCHlch(34.21, 53.43, 8.01°)
OKLaboklab(45.4% 0.1615 0.0192)
OKLCHoklch(45.4% 0.163 6.8)
XYZxyz(14.8571, 8.1110, 6.7433)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1B47 #1B9A6E
analogous
#9A1B86 #9A1B47 #9A2F1B
triadic
#9A1B47 #479A1B #1B479A
tetradic
#9A1B47 #869A1B #1B9A6E #2F1B9A
square
#9A1B47 #869A1B #1B9A6E #2F1B9A
split-complementary
#9A1B47 #1B9A2F #1B869A
monochromatic
#320917 #66122F #9A1B47 #CE245F #E04F81

Accessibility & contrast

On white

8.01
#9A1B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#9A1B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1B47
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1B47#FFFFFF#000000##FFFFFF
##9A1B471.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4048
Deuteranopia (green-blind)
#5F5944
Tritanopia (blue-blind)
#A8002F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9a1b47;
/* rgb */ color: rgb(154, 27, 71);
/* oklch */ color: oklch(45.4% 0.163 6.8);
Tailwind
colors: {
  custom: {
    50: '#be6679',
    500: '#9a1b47',
    950: '#000000',
  },
}
SCSS
$custom: #9a1b47;
$custom-light: #be6679;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1b47",
  "rgb": {
    "r": 154,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 339.213,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45396,
    "c": 0.16263,
    "h": 6.8
  },
  "luminance": 0.08109
}

Semantic roles & 50–950 ramp

primary
#9A1B47
secondary
#4EC39A
accent
#EDAF3B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A1B47

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

Preview Lab → · Contrast checker → · Palette generator →

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