#9B1A47#9B1A47

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

Color values

HEX#9B1A47
RGBrgb(155, 26, 71)
HSLhsl(339, 71%, 35%)
HSVhsv(339, 83%, 61%)
CMYKcmyk(0%, 83.2%, 54.2%, 39.2%)
CIE-LABlab(34.32, 53.45, 7.63)
CIE-LCHlch(34.32, 53.99, 8.12°)
OKLaboklab(45.51% 0.1631 0.0197)
OKLCHoklch(45.51% 0.164 6.9)
XYZxyz(15.0257, 8.1645, 6.7447)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1A47 #1A9B6E
analogous
#9B1A87 #9B1A47 #9B2E1A
triadic
#9B1A47 #479B1A #1A479B
tetradic
#9B1A47 #879B1A #1A9B6E #2E1A9B
square
#9B1A47 #879B1A #1A9B6E #2E1A9B
split-complementary
#9B1A47 #1A9B2E #1A879B
monochromatic
#320817 #67112F #9B1A47 #CF235F #E14E81

Accessibility & contrast

On white

7.98
#9B1A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#9B1A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1A47
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1A47#FFFFFF#000000##FFFFFF
##9B1A471.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4048
Deuteranopia (green-blind)
#5F5A44
Tritanopia (blue-blind)
#AA002E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b1a47;
/* rgb */ color: rgb(155, 26, 71);
/* oklch */ color: oklch(45.5% 0.164 6.9);
Tailwind
colors: {
  custom: {
    50: '#bf6679',
    500: '#9b1a47',
    950: '#000000',
  },
}
SCSS
$custom: #9b1a47;
$custom-light: #bf6679;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1a47",
  "rgb": {
    "r": 155,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 339.07,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45513,
    "c": 0.16431,
    "h": 6.9
  },
  "luminance": 0.08162
}

Semantic roles & 50–950 ramp

primary
#9B1A47
secondary
#4DC49A
accent
#EEAF3A
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1A47

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

Preview Lab → · Contrast checker → · Palette generator →

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