#9D215C#9D215C

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

Color values

HEX#9D215C
RGBrgb(157, 33, 92)
HSLhsl(331, 65%, 37%)
HSVhsv(331, 79%, 62%)
CMYKcmyk(0%, 79%, 41.4%, 38.4%)
CIE-LABlab(36.04, 53.93, -3.43)
CIE-LCHlch(36.04, 54.04, 356.36°)
OKLaboklab(47.05% 0.1658 -0.0083)
OKLCHoklch(47.05% 0.166 357.1)
XYZxyz(16.3814, 9.0306, 11.0036)
Luminance0.0903 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D215C #219D62
analogous
#9D219A #9D215C #9D2421
triadic
#9D215C #5C9D21 #215C9D
tetradic
#9D215C #9A9D21 #219D62 #24219D
square
#9D215C #9A9D21 #219D62 #24219D
split-complementary
#9D215C #219D24 #219A9D
monochromatic
#380C21 #6A163E #9D215C #D02C7A #DD5C99

Accessibility & contrast

On white

7.48
#9D215C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9D215C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D215C
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D215C#FFFFFF#000000##FFFFFF
##9D215C1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465D
Deuteranopia (green-blind)
#5E5D59
Tritanopia (blue-blind)
#AA0C3C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d215c;
/* rgb */ color: rgb(157, 33, 92);
/* oklch */ color: oklch(47.1% 0.166 357.1);
Tailwind
colors: {
  custom: {
    50: '#bf6a8a',
    500: '#9d215c',
    950: '#000000',
  },
}
SCSS
$custom: #9d215c;
$custom-light: #bf6a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d215c",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 92
  },
  "hsl": {
    "h": 331.452,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47051,
    "c": 0.16604,
    "h": 357.1
  },
  "luminance": 0.09029
}

Semantic roles & 50–950 ramp

primary
#9D215C
secondary
#59C18F
accent
#E89840
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D215C

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

Preview Lab → · Contrast checker → · Palette generator →

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