#9D2154#9D2154

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

Color values

HEX#9D2154
RGBrgb(157, 33, 84)
HSLhsl(335, 65%, 37%)
HSVhsv(335, 79%, 62%)
CMYKcmyk(0%, 79%, 46.5%, 38.4%)
CIE-LABlab(35.79, 53.14, 1.34)
CIE-LCHlch(35.79, 53.16, 1.45°)
OKLaboklab(46.78% 0.1632 0.004)
OKLCHoklch(46.78% 0.163 1.4)
XYZxyz(16.0500, 8.8981, 9.2581)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2154 #219D6A
analogous
#9D2192 #9D2154 #9D2C21
triadic
#9D2154 #549D21 #21549D
tetradic
#9D2154 #929D21 #219D6A #2C219D
square
#9D2154 #929D21 #219D6A #2C219D
split-complementary
#9D2154 #219D2C #21929D
monochromatic
#380C1E #6A1639 #9D2154 #D02C6F #DD5C91

Accessibility & contrast

On white

7.56
#9D2154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9D2154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2154
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2154#FFFFFF#000000##FFFFFF
##9D21541.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4555
Deuteranopia (green-blind)
#605D51
Tritanopia (blue-blind)
#AB0338
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d2154;
/* rgb */ color: rgb(157, 33, 84);
/* oklch */ color: oklch(46.8% 0.163 1.4);
Tailwind
colors: {
  custom: {
    50: '#bf6983',
    500: '#9d2154',
    950: '#000000',
  },
}
SCSS
$custom: #9d2154;
$custom-light: #bf6983;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2154",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 335.323,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4678,
    "c": 0.1632,
    "h": 1.4
  },
  "luminance": 0.08896
}

Semantic roles & 50–950 ramp

primary
#9D2154
secondary
#59C196
accent
#E8A340
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D2154

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

Preview Lab → · Contrast checker → · Palette generator →

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