#9B2174#9B2174

#9B2174 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.177 H 344.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9B2174
RGBrgb(155, 33, 116)
HSLhsl(319, 65%, 37%)
HSVhsv(319, 79%, 61%)
CMYKcmyk(0%, 78.7%, 25.2%, 39.2%)
CIE-LABlab(36.59, 56.21, -17.88)
CIE-LCHlch(36.59, 58.98, 342.35°)
OKLaboklab(47.68% 0.1702 -0.0477)
OKLCHoklch(47.68% 0.177 344.3)
XYZxyz(17.2145, 9.3191, 17.4118)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2174 #219B48
analogous
#85219B #9B2174 #9B2137
triadic
#9B2174 #749B21 #21749B
tetradic
#9B2174 #9B8521 #219B48 #21379B
square
#9B2174 #9B8521 #219B48 #21379B
split-complementary
#9B2174 #379B21 #219B85
monochromatic
#360C28 #69164E #9B2174 #CD2C9A #DC5AB3

Accessibility & contrast

On white

7.33
#9B2174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9B2174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2174
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2174#FFFFFF#000000##FFFFFF
##9B21741.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314976
Deuteranopia (green-blind)
#565D71
Tritanopia (blue-blind)
#A62048
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b2174;
/* rgb */ color: rgb(155, 33, 116);
/* oklch */ color: oklch(47.7% 0.177 344.3);
Tailwind
colors: {
  custom: {
    50: '#bd6a9c',
    500: '#9b2174',
    950: '#000000',
  },
}
SCSS
$custom: #9b2174;
$custom-light: #bd6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2174",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 319.18,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47684,
    "c": 0.17671,
    "h": 344.3
  },
  "luminance": 0.09317
}

Semantic roles & 50–950 ramp

primary
#9B2174
secondary
#58C079
accent
#E87640
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B2174

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

Preview Lab → · Contrast checker → · Palette generator →

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