#9B1F72#9B1F72

#9B1F72 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.177 H 345.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#9B1F72
RGBrgb(155, 31, 114)
HSLhsl(320, 67%, 36%)
HSVhsv(320, 80%, 61%)
CMYKcmyk(0%, 80%, 26.5%, 39.2%)
CIE-LABlab(36.30, 56.53, -17.07)
CIE-LCHlch(36.30, 59.05, 343.20°)
OKLaboklab(47.45% 0.1716 -0.0454)
OKLCHoklch(47.45% 0.177 345.2)
XYZxyz(17.0456, 9.1653, 16.7878)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F72 #1F9B48
analogous
#861F9B #9B1F72 #9B1F34
triadic
#9B1F72 #729B1F #1F729B
tetradic
#9B1F72 #9B861F #1F9B48 #1F349B
square
#9B1F72 #9B861F #1F9B48 #1F349B
split-complementary
#9B1F72 #349B1F #1F9B86
monochromatic
#350B27 #68154C #9B1F72 #CE2998 #DD57B1

Accessibility & contrast

On white

7.41
#9B1F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9B1F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F72
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F72#FFFFFF#000000##FFFFFF
##9B1F721.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304874
Deuteranopia (green-blind)
#565D6F
Tritanopia (blue-blind)
#A61C47
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b1f72;
/* rgb */ color: rgb(155, 31, 114);
/* oklch */ color: oklch(47.4% 0.177 345.2);
Tailwind
colors: {
  custom: {
    50: '#bd699a',
    500: '#9b1f72',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f72;
$custom-light: #bd699a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f72",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 319.839,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47445,
    "c": 0.17749,
    "h": 345.2
  },
  "luminance": 0.09163
}

Semantic roles & 50–950 ramp

primary
#9B1F72
secondary
#55C179
accent
#EA773E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B1F72

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

Preview Lab → · Contrast checker → · Palette generator →

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