#9B1B45#9B1B45

#9B1B45 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.163 H 8.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#9B1B45
RGBrgb(155, 27, 69)
HSLhsl(340, 70%, 36%)
HSVhsv(340, 83%, 61%)
CMYKcmyk(0%, 82.6%, 55.5%, 39.2%)
CIE-LABlab(34.36, 53.03, 8.99)
CIE-LCHlch(34.36, 53.78, 9.62°)
OKLaboklab(45.53% 0.1615 0.0229)
OKLCHoklch(45.53% 0.163 8.1)
XYZxyz(14.9851, 8.1843, 6.4197)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1B45 #1B9B71
analogous
#9B1B85 #9B1B45 #9B311B
triadic
#9B1B45 #459B1B #1B459B
tetradic
#9B1B45 #859B1B #1B9B71 #311B9B
square
#9B1B45 #859B1B #1B9B71 #311B9B
split-complementary
#9B1B45 #1B9B31 #1B859B
monochromatic
#330917 #67122E #9B1B45 #CF245C #E0507F

Accessibility & contrast

On white

7.97
#9B1B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9B1B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1B45
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1B45#FFFFFF#000000##FFFFFF
##9B1B451.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4046
Deuteranopia (green-blind)
#605A42
Tritanopia (blue-blind)
#AA002E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b1b45;
/* rgb */ color: rgb(155, 27, 69);
/* oklch */ color: oklch(45.5% 0.163 8.1);
Tailwind
colors: {
  custom: {
    50: '#bf6778',
    500: '#9b1b45',
    950: '#000000',
  },
}
SCSS
$custom: #9b1b45;
$custom-light: #bf6778;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1b45",
  "rgb": {
    "r": 155,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 340.313,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45526,
    "c": 0.16312,
    "h": 8.1
  },
  "luminance": 0.08182
}

Semantic roles & 50–950 ramp

primary
#9B1B45
secondary
#4FC39D
accent
#EDB33B
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9B1B45

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

Preview Lab → · Contrast checker → · Palette generator →

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