#9B1F45#9B1F45

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

Color values

HEX#9B1F45
RGBrgb(155, 31, 69)
HSLhsl(342, 67%, 36%)
HSVhsv(342, 80%, 61%)
CMYKcmyk(0%, 80%, 55.5%, 39.2%)
CIE-LABlab(34.76, 51.89, 9.55)
CIE-LCHlch(34.76, 52.77, 10.43°)
OKLaboklab(45.82% 0.1578 0.0243)
OKLCHoklch(45.82% 0.16 8.7)
XYZxyz(15.0832, 8.3804, 6.4524)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F45 #1F9B75
analogous
#9B1F83 #9B1F45 #9B371F
triadic
#9B1F45 #459B1F #1F459B
tetradic
#9B1F45 #839B1F #1F9B75 #371F9B
square
#9B1F45 #839B1F #1F9B75 #371F9B
split-complementary
#9B1F45 #1F9B37 #1F839B
monochromatic
#350B18 #68152E #9B1F45 #CE295C #DD5780

Accessibility & contrast

On white

7.85
#9B1F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9B1F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F45
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F45#FFFFFF#000000##FFFFFF
##9B1F451.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414246
Deuteranopia (green-blind)
#615B42
Tritanopia (blue-blind)
#AA0030
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b1f45;
/* rgb */ color: rgb(155, 31, 69);
/* oklch */ color: oklch(45.8% 0.160 8.7);
Tailwind
colors: {
  custom: {
    50: '#bf6878',
    500: '#9b1f45',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f45;
$custom-light: #bf6878;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f45",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 341.613,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4582,
    "c": 0.15969,
    "h": 8.7
  },
  "luminance": 0.08378
}

Semantic roles & 50–950 ramp

primary
#9B1F45
secondary
#55C1A0
accent
#EAB53E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9B1F45

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

Preview Lab → · Contrast checker → · Palette generator →

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