#9B1A40#9B1A40

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

Color values

HEX#9B1A40
RGBrgb(155, 26, 64)
HSLhsl(342, 71%, 35%)
HSVhsv(342, 83%, 61%)
CMYKcmyk(0%, 83.2%, 58.7%, 39.2%)
CIE-LABlab(34.15, 52.92, 11.96)
CIE-LCHlch(34.15, 54.26, 12.73°)
OKLaboklab(45.33% 0.1604 0.0299)
OKLCHoklch(45.33% 0.163 10.6)
XYZxyz(14.8139, 8.0797, 5.6290)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1A40 #1A9B75
analogous
#9B1A80 #9B1A40 #9B351A
triadic
#9B1A40 #409B1A #1A409B
tetradic
#9B1A40 #809B1A #1A9B75 #351A9B
square
#9B1A40 #809B1A #1A9B75 #351A9B
split-complementary
#9B1A40 #1A9B35 #1A809B
monochromatic
#320815 #67112A #9B1A40 #CF2356 #E14E79

Accessibility & contrast

On white

8.03
#9B1A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1A40
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1A40#FFFFFF#000000##FFFFFF
##9B1A401.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4041
Deuteranopia (green-blind)
#605A3D
Tritanopia (blue-blind)
#AA002B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9b1a40;
/* rgb */ color: rgb(155, 26, 64);
/* oklch */ color: oklch(45.3% 0.163 10.6);
Tailwind
colors: {
  custom: {
    50: '#bf6674',
    500: '#9b1a40',
    950: '#000000',
  },
}
SCSS
$custom: #9b1a40;
$custom-light: #bf6674;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1a40",
  "rgb": {
    "r": 155,
    "g": 26,
    "b": 64
  },
  "hsl": {
    "h": 342.326,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45328,
    "c": 0.16313,
    "h": 10.6
  },
  "luminance": 0.08078
}

Semantic roles & 50–950 ramp

primary
#9B1A40
secondary
#4DC4A1
accent
#EEB93A
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9B1A40

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

Preview Lab → · Contrast checker → · Palette generator →

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