#9B2170#9B2170

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

Color values

HEX#9B2170
RGBrgb(155, 33, 112)
HSLhsl(321, 65%, 37%)
HSVhsv(321, 79%, 61%)
CMYKcmyk(0%, 78.7%, 27.7%, 39.2%)
CIE-LABlab(36.42, 55.69, -15.63)
CIE-LCHlch(36.42, 57.84, 344.33°)
OKLaboklab(47.5% 0.1694 -0.0414)
OKLCHoklch(47.5% 0.174 346.3)
XYZxyz(16.9869, 9.2280, 16.2127)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2170 #219B4C
analogous
#89219B #9B2170 #9B2133
triadic
#9B2170 #709B21 #21709B
tetradic
#9B2170 #9B8921 #219B4C #21339B
square
#9B2170 #9B8921 #219B4C #21339B
split-complementary
#9B2170 #339B21 #219B89
monochromatic
#360C27 #69164C #9B2170 #CD2C94 #DC5AAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B2170#FFFFFF#000000##FFFFFF
##9B21701.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)
#334872
Deuteranopia (green-blind)
#585D6D
Tritanopia (blue-blind)
#A61D46
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b2170;
/* rgb */ color: rgb(155, 33, 112);
/* oklch */ color: oklch(47.5% 0.174 346.3);
Tailwind
colors: {
  custom: {
    50: '#bd6a99',
    500: '#9b2170',
    950: '#000000',
  },
}
SCSS
$custom: #9b2170;
$custom-light: #bd6a99;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2170",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 321.148,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47504,
    "c": 0.17435,
    "h": 346.3
  },
  "luminance": 0.09226
}

Semantic roles & 50–950 ramp

primary
#9B2170
secondary
#58C07C
accent
#E87B40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B2170

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

Preview Lab → · Contrast checker → · Palette generator →

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