#9B1F75#9B1F75

#9B1F75 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.179 H 343.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#9B1F75
RGBrgb(155, 31, 117)
HSLhsl(318, 67%, 36%)
HSVhsv(318, 80%, 61%)
CMYKcmyk(0%, 80%, 24.5%, 39.2%)
CIE-LABlab(36.43, 56.92, -18.76)
CIE-LCHlch(36.43, 59.93, 341.76°)
OKLaboklab(47.58% 0.1721 -0.0501)
OKLCHoklch(47.58% 0.179 343.8)
XYZxyz(17.2191, 9.2348, 17.7018)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F75 #1F9B45
analogous
#831F9B #9B1F75 #9B1F37
triadic
#9B1F75 #759B1F #1F759B
tetradic
#9B1F75 #9B831F #1F9B45 #1F379B
square
#9B1F75 #9B831F #1F9B45 #1F379B
split-complementary
#9B1F75 #379B1F #1F9B83
monochromatic
#350B28 #68154F #9B1F75 #CE299B #DD57B4

Accessibility & contrast

On white

7.38
#9B1F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9B1F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F75
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F75#FFFFFF#000000##FFFFFF
##9B1F751.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4977
Deuteranopia (green-blind)
#555D72
Tritanopia (blue-blind)
#A51E48
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1f75;
/* rgb */ color: rgb(155, 31, 117);
/* oklch */ color: oklch(47.6% 0.179 343.8);
Tailwind
colors: {
  custom: {
    50: '#bd6a9d',
    500: '#9b1f75',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f75;
$custom-light: #bd6a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f75",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 117
  },
  "hsl": {
    "h": 318.387,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47584,
    "c": 0.17928,
    "h": 343.8
  },
  "luminance": 0.09233
}

Semantic roles & 50–950 ramp

primary
#9B1F75
secondary
#55C176
accent
#EA733E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B1F75

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

Preview Lab → · Contrast checker → · Palette generator →

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