#9B1F76#9B1F76

#9B1F76 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.180 H 343.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9B1F76
RGBrgb(155, 31, 118)
HSLhsl(318, 67%, 36%)
HSVhsv(318, 80%, 61%)
CMYKcmyk(0%, 80%, 23.9%, 39.2%)
CIE-LABlab(36.48, 57.05, -19.31)
CIE-LCHlch(36.48, 60.23, 341.30°)
OKLaboklab(47.63% 0.1723 -0.0517)
OKLCHoklch(47.63% 0.18 343.3)
XYZxyz(17.2783, 9.2584, 18.0132)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F76 #1F9B44
analogous
#821F9B #9B1F76 #9B1F38
triadic
#9B1F76 #769B1F #1F769B
tetradic
#9B1F76 #9B821F #1F9B44 #1F389B
square
#9B1F76 #9B821F #1F9B44 #1F389B
split-complementary
#9B1F76 #389B1F #1F9B82
monochromatic
#350B28 #68154F #9B1F76 #CE299D #DD57B5

Accessibility & contrast

On white

7.36
#9B1F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1F76
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F76#FFFFFF#000000##FFFFFF
##9B1F761.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4978
Deuteranopia (green-blind)
#555D73
Tritanopia (blue-blind)
#A51F49
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b1f76;
/* rgb */ color: rgb(155, 31, 118);
/* oklch */ color: oklch(47.6% 0.180 343.3);
Tailwind
colors: {
  custom: {
    50: '#bd6a9d',
    500: '#9b1f76',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f76;
$custom-light: #bd6a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f76",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 317.903,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47631,
    "c": 0.17989,
    "h": 343.3
  },
  "luminance": 0.09257
}

Semantic roles & 50–950 ramp

primary
#9B1F76
secondary
#55C175
accent
#EA713E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B1F76

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

Preview Lab → · Contrast checker → · Palette generator →

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