#9D2159#9D2159

#9D2159 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.165 H 358.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#9D2159
RGBrgb(157, 33, 89)
HSLhsl(333, 65%, 37%)
HSVhsv(333, 79%, 62%)
CMYKcmyk(0%, 79%, 43.3%, 38.4%)
CIE-LABlab(35.94, 53.63, -1.65)
CIE-LCHlch(35.94, 53.65, 358.24°)
OKLaboklab(46.95% 0.1649 -0.0037)
OKLCHoklch(46.95% 0.165 358.7)
XYZxyz(16.2529, 8.9792, 10.3266)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2159 #219D65
analogous
#9D2197 #9D2159 #9D2721
triadic
#9D2159 #599D21 #21599D
tetradic
#9D2159 #979D21 #219D65 #27219D
square
#9D2159 #979D21 #219D65 #27219D
split-complementary
#9D2159 #219D27 #21979D
monochromatic
#380C20 #6A163C #9D2159 #D02C76 #DD5C96

Accessibility & contrast

On white

7.51
#9D2159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2159
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2159#FFFFFF#000000##FFFFFF
##9D21591.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D465A
Deuteranopia (green-blind)
#5F5D56
Tritanopia (blue-blind)
#AA083A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d2159;
/* rgb */ color: rgb(157, 33, 89);
/* oklch */ color: oklch(46.9% 0.165 358.7);
Tailwind
colors: {
  custom: {
    50: '#bf6a87',
    500: '#9d2159',
    950: '#000000',
  },
}
SCSS
$custom: #9d2159;
$custom-light: #bf6a87;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2159",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 332.903,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46946,
    "c": 0.1649,
    "h": 358.7
  },
  "luminance": 0.08977
}

Semantic roles & 50–950 ramp

primary
#9D2159
secondary
#59C192
accent
#E89C40
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D2159

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

Preview Lab → · Contrast checker → · Palette generator →

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