#9A1B46#9A1B46

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

Color values

HEX#9A1B46
RGBrgb(154, 27, 70)
HSLhsl(340, 70%, 35%)
HSVhsv(340, 82%, 60%)
CMYKcmyk(0%, 82.5%, 54.5%, 39.6%)
CIE-LABlab(34.19, 52.83, 8.06)
CIE-LCHlch(34.19, 53.44, 8.68°)
OKLaboklab(45.37% 0.1611 0.0207)
OKLCHoklch(45.37% 0.162 7.3)
XYZxyz(14.8253, 8.0982, 6.5756)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1B46 #1B9A6F
analogous
#9A1B85 #9A1B46 #9A2F1B
triadic
#9A1B46 #469A1B #1B469A
tetradic
#9A1B46 #859A1B #1B9A6F #2F1B9A
square
#9A1B46 #859A1B #1B9A6F #2F1B9A
split-complementary
#9A1B46 #1B9A2F #1B859A
monochromatic
#320917 #66122E #9A1B46 #CE245E #E04F80

Accessibility & contrast

On white

8.02
#9A1B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A1B46
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1B46#FFFFFF#000000##FFFFFF
##9A1B461.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4047
Deuteranopia (green-blind)
#5F5943
Tritanopia (blue-blind)
#A8002E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9a1b46;
/* rgb */ color: rgb(154, 27, 70);
/* oklch */ color: oklch(45.4% 0.162 7.3);
Tailwind
colors: {
  custom: {
    50: '#be6679',
    500: '#9a1b46',
    950: '#000000',
  },
}
SCSS
$custom: #9a1b46;
$custom-light: #be6679;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1b46",
  "rgb": {
    "r": 154,
    "g": 27,
    "b": 70
  },
  "hsl": {
    "h": 339.685,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45368,
    "c": 0.16242,
    "h": 7.3
  },
  "luminance": 0.08096
}

Semantic roles & 50–950 ramp

primary
#9A1B46
secondary
#4EC39B
accent
#EDB13B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A1B46

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

Preview Lab → · Contrast checker → · Palette generator →

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