#9B215E#9B215E

#9B215E is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.165 H 355.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9B215E
RGBrgb(155, 33, 94)
HSLhsl(330, 65%, 37%)
HSVhsv(330, 79%, 61%)
CMYKcmyk(0%, 78.7%, 39.4%, 39.2%)
CIE-LABlab(35.73, 53.60, -5.22)
CIE-LCHlch(35.73, 53.85, 354.43°)
OKLaboklab(46.77% 0.1648 -0.0131)
OKLCHoklch(46.77% 0.165 355.5)
XYZxyz(16.0829, 8.8665, 11.4520)
Luminance0.0886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B215E #219B5E
analogous
#9B219B #9B215E #9B2121
triadic
#9B215E #5E9B21 #215E9B
tetradic
#9B215E #9B9B21 #219B5E #21219B
square
#9B215E #9B9B21 #219B5E #21219B
split-complementary
#9B215E #219B21 #219B9B
monochromatic
#360C21 #69163F #9B215E #CD2C7D #DC5A9B

Accessibility & contrast

On white

7.57
#9B215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B215E
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B215E#FFFFFF#000000##FFFFFF
##9B215E1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4660
Deuteranopia (green-blind)
#5C5C5B
Tritanopia (blue-blind)
#A80F3D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9b215e;
/* rgb */ color: rgb(155, 33, 94);
/* oklch */ color: oklch(46.8% 0.165 355.5);
Tailwind
colors: {
  custom: {
    50: '#bd6a8b',
    500: '#9b215e',
    950: '#000000',
  },
}
SCSS
$custom: #9b215e;
$custom-light: #bd6a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b215e",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 330,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46771,
    "c": 0.16527,
    "h": 355.5
  },
  "luminance": 0.08864
}

Semantic roles & 50–950 ramp

primary
#9B215E
secondary
#58C08C
accent
#E89440
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9B215E

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

Preview Lab → · Contrast checker → · Palette generator →

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