#9B2185#9B2185

#9B2185 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.188 H 336.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9B2185
RGBrgb(155, 33, 133)
HSLhsl(311, 65%, 37%)
HSVhsv(311, 79%, 61%)
CMYKcmyk(0%, 78.7%, 14.2%, 39.2%)
CIE-LABlab(37.39, 58.55, -27.23)
CIE-LCHlch(37.39, 64.58, 335.06°)
OKLaboklab(48.52% 0.1724 -0.0742)
OKLCHoklch(48.52% 0.188 336.7)
XYZxyz(18.2954, 9.7515, 23.1044)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2185 #219B37
analogous
#74219B #9B2185 #9B2148
triadic
#9B2185 #859B21 #21859B
tetradic
#9B2185 #9B7421 #219B37 #21489B
square
#9B2185 #9B7421 #219B37 #21489B
split-complementary
#9B2185 #489B21 #219B74
monochromatic
#360C2E #69165A #9B2185 #CD2CB0 #DC5AC5

Accessibility & contrast

On white

7.12
#9B2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9B2185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2185
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2185#FFFFFF#000000##FFFFFF
##9B21851.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244C88
Deuteranopia (green-blind)
#505E82
Tritanopia (blue-blind)
#A32A52
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2185;
/* rgb */ color: rgb(155, 33, 133);
/* oklch */ color: oklch(48.5% 0.188 336.7);
Tailwind
colors: {
  custom: {
    50: '#bc6ba9',
    500: '#9b2185',
    950: '#000000',
  },
}
SCSS
$custom: #9b2185;
$custom-light: #bc6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2185",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 310.82,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48523,
    "c": 0.18773,
    "h": 336.7
  },
  "luminance": 0.0975
}

Semantic roles & 50–950 ramp

primary
#9B2185
secondary
#58C06A
accent
#E85E40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9B2185

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

Preview Lab → · Contrast checker → · Palette generator →

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