#9B1F49#9B1F49

#9B1F49 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.160 H 6.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#9B1F49
RGBrgb(155, 31, 73)
HSLhsl(340, 67%, 36%)
HSVhsv(340, 80%, 61%)
CMYKcmyk(0%, 80%, 52.9%, 39.2%)
CIE-LABlab(34.87, 52.22, 7.09)
CIE-LCHlch(34.87, 52.69, 7.74°)
OKLaboklab(45.93% 0.1594 0.0184)
OKLCHoklch(45.93% 0.16 6.6)
XYZxyz(15.2116, 8.4317, 7.1285)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F49 #1F9B71
analogous
#9B1F87 #9B1F49 #9B331F
triadic
#9B1F49 #499B1F #1F499B
tetradic
#9B1F49 #879B1F #1F9B71 #331F9B
square
#9B1F49 #879B1F #1F9B71 #331F9B
split-complementary
#9B1F49 #1F9B33 #1F879B
monochromatic
#350B19 #681531 #9B1F49 #CE2961 #DD5785

Accessibility & contrast

On white

7.82
#9B1F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9B1F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F49
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F49#FFFFFF#000000##FFFFFF
##9B1F491.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40424A
Deuteranopia (green-blind)
#605B46
Tritanopia (blue-blind)
#A90031
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b1f49;
/* rgb */ color: rgb(155, 31, 73);
/* oklch */ color: oklch(45.9% 0.160 6.6);
Tailwind
colors: {
  custom: {
    50: '#be687b',
    500: '#9b1f49',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f49;
$custom-light: #be687b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f49",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 73
  },
  "hsl": {
    "h": 339.677,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4593,
    "c": 0.16045,
    "h": 6.6
  },
  "luminance": 0.0843
}

Semantic roles & 50–950 ramp

primary
#9B1F49
secondary
#55C19C
accent
#EAB03E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1F49

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

Preview Lab → · Contrast checker → · Palette generator →

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