#9D215B#9D215B

#9D215B is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.166 H 357.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#9D215B
RGBrgb(157, 33, 91)
HSLhsl(332, 65%, 37%)
HSVhsv(332, 79%, 62%)
CMYKcmyk(0%, 79%, 42%, 38.4%)
CIE-LABlab(36.01, 53.83, -2.84)
CIE-LCHlch(36.01, 53.90, 356.98°)
OKLaboklab(47.02% 0.1655 -0.0068)
OKLCHoklch(47.02% 0.166 357.7)
XYZxyz(16.3380, 9.0133, 10.7749)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D215B #219D63
analogous
#9D2199 #9D215B #9D2521
triadic
#9D215B #5B9D21 #215B9D
tetradic
#9D215B #999D21 #219D63 #25219D
square
#9D215B #999D21 #219D63 #25219D
split-complementary
#9D215B #219D25 #21999D
monochromatic
#380C20 #6A163E #9D215B #D02C78 #DD5C98

Accessibility & contrast

On white

7.49
#9D215B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9D215B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D215B
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D215B#FFFFFF#000000##FFFFFF
##9D215B1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465C
Deuteranopia (green-blind)
#5E5D58
Tritanopia (blue-blind)
#AA0A3B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d215b;
/* rgb */ color: rgb(157, 33, 91);
/* oklch */ color: oklch(47.0% 0.166 357.7);
Tailwind
colors: {
  custom: {
    50: '#bf6a89',
    500: '#9d215b',
    950: '#000000',
  },
}
SCSS
$custom: #9d215b;
$custom-light: #bf6a89;
$custom-dark: #000000;
JSON
{
  "hex": "#9d215b",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 91
  },
  "hsl": {
    "h": 331.935,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47016,
    "c": 0.16565,
    "h": 357.7
  },
  "luminance": 0.09011
}

Semantic roles & 50–950 ramp

primary
#9D215B
secondary
#59C190
accent
#E89940
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D215B

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

Preview Lab → · Contrast checker → · Palette generator →

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