#9B2157#9B2157

#9B2157 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.163 H 359.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#9B2157
RGBrgb(155, 33, 87)
HSLhsl(333, 65%, 37%)
HSVhsv(333, 79%, 61%)
CMYKcmyk(0%, 78.7%, 43.9%, 39.2%)
CIE-LABlab(35.49, 52.88, -1.07)
CIE-LCHlch(35.49, 52.89, 358.84°)
OKLaboklab(46.52% 0.1625 -0.0022)
OKLCHoklch(46.52% 0.163 359.2)
XYZxyz(15.7829, 8.7465, 9.8721)
Luminance0.0874 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2157 #219B65
analogous
#9B2194 #9B2157 #9B2821
triadic
#9B2157 #579B21 #21579B
tetradic
#9B2157 #949B21 #219B65 #28219B
square
#9B2157 #949B21 #219B65 #28219B
split-complementary
#9B2157 #219B28 #21949B
monochromatic
#360C1E #69163B #9B2157 #CD2C73 #DC5A94

Accessibility & contrast

On white

7.64
#9B2157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9B2157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2157
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2157#FFFFFF#000000##FFFFFF
##9B21571.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4558
Deuteranopia (green-blind)
#5E5C54
Tritanopia (blue-blind)
#A80839
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9b2157;
/* rgb */ color: rgb(155, 33, 87);
/* oklch */ color: oklch(46.5% 0.163 359.2);
Tailwind
colors: {
  custom: {
    50: '#be6986',
    500: '#9b2157',
    950: '#000000',
  },
}
SCSS
$custom: #9b2157;
$custom-light: #be6986;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2157",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 333.443,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46523,
    "c": 0.16252,
    "h": 359.2
  },
  "luminance": 0.08744
}

Semantic roles & 50–950 ramp

primary
#9B2157
secondary
#58C092
accent
#E89E40
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9B2157

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

Preview Lab → · Contrast checker → · Palette generator →

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