#9B1F48#9B1F48

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

Color values

HEX#9B1F48
RGBrgb(155, 31, 72)
HSLhsl(340, 67%, 36%)
HSVhsv(340, 80%, 61%)
CMYKcmyk(0%, 80%, 53.5%, 39.2%)
CIE-LABlab(34.84, 52.13, 7.71)
CIE-LCHlch(34.84, 52.70, 8.41°)
OKLaboklab(45.9% 0.159 0.0199)
OKLCHoklch(45.9% 0.16 7.1)
XYZxyz(15.1787, 8.4186, 6.9553)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F48 #1F9B72
analogous
#9B1F86 #9B1F48 #9B341F
triadic
#9B1F48 #489B1F #1F489B
tetradic
#9B1F48 #869B1F #1F9B72 #341F9B
square
#9B1F48 #869B1F #1F9B72 #341F9B
split-complementary
#9B1F48 #1F9B34 #1F869B
monochromatic
#350B19 #681530 #9B1F48 #CE2960 #DD5783

Accessibility & contrast

On white

7.83
#9B1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1F48
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F48#FFFFFF#000000##FFFFFF
##9B1F481.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b1f48;
/* rgb */ color: rgb(155, 31, 72);
/* oklch */ color: oklch(45.9% 0.160 7.1);
Tailwind
colors: {
  custom: {
    50: '#bf687a',
    500: '#9b1f48',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f48;
$custom-light: #bf687a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f48",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 340.161,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45902,
    "c": 0.16025,
    "h": 7.1
  },
  "luminance": 0.08416
}

Semantic roles & 50–950 ramp

primary
#9B1F48
secondary
#55C19D
accent
#EAB13E
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #9B1F48

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

Preview Lab → · Contrast checker → · Palette generator →

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