#9D2155#9D2155

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

Color values

HEX#9D2155
RGBrgb(157, 33, 85)
HSLhsl(335, 65%, 37%)
HSVhsv(335, 79%, 62%)
CMYKcmyk(0%, 79%, 45.9%, 38.4%)
CIE-LABlab(35.82, 53.24, 0.74)
CIE-LCHlch(35.82, 53.24, 0.80°)
OKLaboklab(46.81% 0.1635 0.0025)
OKLCHoklch(46.81% 0.164 0.9)
XYZxyz(16.0895, 8.9138, 9.4659)
Luminance0.0891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2155 #219D69
analogous
#9D2193 #9D2155 #9D2B21
triadic
#9D2155 #559D21 #21559D
tetradic
#9D2155 #939D21 #219D69 #2B219D
square
#9D2155 #939D21 #219D69 #2B219D
split-complementary
#9D2155 #219D2B #21939D
monochromatic
#380C1E #6A163A #9D2155 #D02C70 #DD5C92

Accessibility & contrast

On white

7.55
#9D2155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2155
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2155#FFFFFF#000000##FFFFFF
##9D21551.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4556
Deuteranopia (green-blind)
#605D52
Tritanopia (blue-blind)
#AB0438
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d2155;
/* rgb */ color: rgb(157, 33, 85);
/* oklch */ color: oklch(46.8% 0.164 0.9);
Tailwind
colors: {
  custom: {
    50: '#bf6a84',
    500: '#9d2155',
    950: '#000000',
  },
}
SCSS
$custom: #9d2155;
$custom-light: #bf6a84;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2155",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 334.839,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46813,
    "c": 0.16352,
    "h": 0.9
  },
  "luminance": 0.08912
}

Semantic roles & 50–950 ramp

primary
#9D2155
secondary
#59C195
accent
#E8A240
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9D2155

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

Preview Lab → · Contrast checker → · Palette generator →

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