#9B1A42#9B1A42

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

Color values

HEX#9B1A42
RGBrgb(155, 26, 66)
HSLhsl(341, 71%, 35%)
HSVhsv(341, 83%, 61%)
CMYKcmyk(0%, 83.2%, 57.4%, 39.2%)
CIE-LABlab(34.20, 53.07, 10.72)
CIE-LCHlch(34.20, 54.14, 11.42°)
OKLaboklab(45.38% 0.1612 0.027)
OKLCHoklch(45.38% 0.163 9.5)
XYZxyz(14.8718, 8.1029, 5.9341)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1A42 #1A9B73
analogous
#9B1A83 #9B1A42 #9B321A
triadic
#9B1A42 #429B1A #1A429B
tetradic
#9B1A42 #839B1A #1A9B73 #321A9B
square
#9B1A42 #839B1A #1A9B73 #321A9B
split-complementary
#9B1A42 #1A9B32 #1A839B
monochromatic
#320815 #67112C #9B1A42 #CF2358 #E14E7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B1A42#FFFFFF#000000##FFFFFF
##9B1A421.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)
#3F4043
Deuteranopia (green-blind)
#605A3F
Tritanopia (blue-blind)
#AA002C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9b1a42;
/* rgb */ color: rgb(155, 26, 66);
/* oklch */ color: oklch(45.4% 0.163 9.5);
Tailwind
colors: {
  custom: {
    50: '#bf6676',
    500: '#9b1a42',
    950: '#000000',
  },
}
SCSS
$custom: #9b1a42;
$custom-light: #bf6676;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1a42",
  "rgb": {
    "r": 155,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 341.395,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45379,
    "c": 0.16342,
    "h": 9.5
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#9B1A42
secondary
#4DC49F
accent
#EEB63A
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9B1A42

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

Preview Lab → · Contrast checker → · Palette generator →

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