#9B1E48#9B1E48

#9B1E48 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.161 H 7.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#9B1E48
RGBrgb(155, 30, 72)
HSLhsl(340, 68%, 36%)
HSVhsv(340, 81%, 61%)
CMYKcmyk(0%, 80.6%, 53.5%, 39.2%)
CIE-LABlab(34.74, 52.43, 7.56)
CIE-LCHlch(34.74, 52.97, 8.21°)
OKLaboklab(45.83% 0.16 0.0195)
OKLCHoklch(45.83% 0.161 7)
XYZxyz(15.1530, 8.3672, 6.9468)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1E48 #1E9B71
analogous
#9B1E87 #9B1E48 #9B331E
triadic
#9B1E48 #489B1E #1E489B
tetradic
#9B1E48 #879B1E #1E9B71 #331E9B
square
#9B1E48 #879B1E #1E9B71 #331E9B
split-complementary
#9B1E48 #1E9B33 #1E879B
monochromatic
#340A18 #681430 #9B1E48 #CE2860 #DE5583

Accessibility & contrast

On white

7.86
#9B1E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9B1E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1E48
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1E48#FFFFFF#000000##FFFFFF
##9B1E481.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4249
Deuteranopia (green-blind)
#605B45
Tritanopia (blue-blind)
#A90031
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b1e48;
/* rgb */ color: rgb(155, 30, 72);
/* oklch */ color: oklch(45.8% 0.161 7.0);
Tailwind
colors: {
  custom: {
    50: '#bf687a',
    500: '#9b1e48',
    950: '#000000',
  },
}
SCSS
$custom: #9b1e48;
$custom-light: #bf687a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1e48",
  "rgb": {
    "r": 155,
    "g": 30,
    "b": 72
  },
  "hsl": {
    "h": 339.84,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45825,
    "c": 0.16115,
    "h": 7
  },
  "luminance": 0.08365
}

Semantic roles & 50–950 ramp

primary
#9B1E48
secondary
#53C29C
accent
#EAB03D
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1E48

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

Preview Lab → · Contrast checker → · Palette generator →

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