#9B2154#9B2154

#9B2154 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.162 H 0.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#9B2154
RGBrgb(155, 33, 84)
HSLhsl(335, 65%, 37%)
HSVhsv(335, 79%, 61%)
CMYKcmyk(0%, 78.7%, 45.8%, 39.2%)
CIE-LABlab(35.40, 52.58, 0.73)
CIE-LCHlch(35.40, 52.59, 0.79°)
OKLaboklab(46.42% 0.1615 0.0025)
OKLCHoklch(46.42% 0.162 0.9)
XYZxyz(15.6629, 8.6985, 9.2400)
Luminance0.0870 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2154 #219B68
analogous
#9B2191 #9B2154 #9B2B21
triadic
#9B2154 #549B21 #21549B
tetradic
#9B2154 #919B21 #219B68 #2B219B
square
#9B2154 #919B21 #219B68 #2B219B
split-complementary
#9B2154 #219B2B #21919B
monochromatic
#360C1D #691639 #9B2154 #CD2C6F #DC5A91

Accessibility & contrast

On white

7.67
#9B2154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9B2154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2154
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2154#FFFFFF#000000##FFFFFF
##9B21541.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4455
Deuteranopia (green-blind)
#5F5C51
Tritanopia (blue-blind)
#A90538
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9b2154;
/* rgb */ color: rgb(155, 33, 84);
/* oklch */ color: oklch(46.4% 0.162 0.9);
Tailwind
colors: {
  custom: {
    50: '#be6983',
    500: '#9b2154',
    950: '#000000',
  },
}
SCSS
$custom: #9b2154;
$custom-light: #be6983;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2154",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 334.918,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46423,
    "c": 0.1615,
    "h": 0.9
  },
  "luminance": 0.08696
}

Semantic roles & 50–950 ramp

primary
#9B2154
secondary
#58C094
accent
#E8A240
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9B2154

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

Preview Lab → · Contrast checker → · Palette generator →

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