#9B215C#9B215C

#9B215C is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.164 H 356.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9B215C
RGBrgb(155, 33, 92)
HSLhsl(331, 65%, 37%)
HSVhsv(331, 79%, 61%)
CMYKcmyk(0%, 78.7%, 40.6%, 39.2%)
CIE-LABlab(35.66, 53.39, -4.04)
CIE-LCHlch(35.66, 53.54, 355.67°)
OKLaboklab(46.7% 0.1641 -0.01)
OKLCHoklch(46.7% 0.164 356.5)
XYZxyz(15.9943, 8.8310, 10.9854)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B215C #219B60
analogous
#9B2199 #9B215C #9B2321
triadic
#9B215C #5C9B21 #215C9B
tetradic
#9B215C #999B21 #219B60 #23219B
square
#9B215C #999B21 #219B60 #23219B
split-complementary
#9B215C #219B23 #21999B
monochromatic
#360C20 #69163E #9B215C #CD2C7A #DC5A99

Accessibility & contrast

On white

7.59
#9B215C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9B215C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B215C
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B215C#FFFFFF#000000##FFFFFF
##9B215C1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B455D
Deuteranopia (green-blind)
#5D5C59
Tritanopia (blue-blind)
#A80E3C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9b215c;
/* rgb */ color: rgb(155, 33, 92);
/* oklch */ color: oklch(46.7% 0.164 356.5);
Tailwind
colors: {
  custom: {
    50: '#bd698a',
    500: '#9b215c',
    950: '#000000',
  },
}
SCSS
$custom: #9b215c;
$custom-light: #bd698a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b215c",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 92
  },
  "hsl": {
    "h": 330.984,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46698,
    "c": 0.16443,
    "h": 356.5
  },
  "luminance": 0.08829
}

Semantic roles & 50–950 ramp

primary
#9B215C
secondary
#58C08E
accent
#E89740
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9B215C

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

Preview Lab → · Contrast checker → · Palette generator →

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