#9B1845#9B1845

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

Color values

HEX#9B1845
RGBrgb(155, 24, 69)
HSLhsl(339, 73%, 35%)
HSVhsv(339, 85%, 61%)
CMYKcmyk(0%, 84.5%, 55.5%, 39.2%)
CIE-LABlab(34.09, 53.79, 8.62)
CIE-LCHlch(34.09, 54.48, 9.10°)
OKLaboklab(45.33% 0.164 0.022)
OKLCHoklch(45.33% 0.165 7.6)
XYZxyz(14.9198, 8.0537, 6.3980)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1845 #189B6E
analogous
#9B1887 #9B1845 #9B2C18
triadic
#9B1845 #459B18 #18459B
tetradic
#9B1845 #879B18 #189B6E #2C189B
square
#9B1845 #879B18 #189B6E #2C189B
split-complementary
#9B1845 #189B2C #18879B
monochromatic
#310816 #66102D #9B1845 #D0205D #E34A7F

Accessibility & contrast

On white

8.04
#9B1845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#9B1845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1845
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1845#FFFFFF#000000##FFFFFF
##9B18451.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4046
Deuteranopia (green-blind)
#5F5942
Tritanopia (blue-blind)
#AA002D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9b1845;
/* rgb */ color: rgb(155, 24, 69);
/* oklch */ color: oklch(45.3% 0.165 7.6);
Tailwind
colors: {
  custom: {
    50: '#bf6678',
    500: '#9b1845',
    950: '#000000',
  },
}
SCSS
$custom: #9b1845;
$custom-light: #bf6678;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1845",
  "rgb": {
    "r": 155,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 339.389,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45328,
    "c": 0.16546,
    "h": 7.6
  },
  "luminance": 0.08052
}

Semantic roles & 50–950 ramp

primary
#9B1845
secondary
#4AC59B
accent
#F0B138
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9B1845

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

Preview Lab → · Contrast checker → · Palette generator →

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