#9D2157#9D2157

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

Color values

HEX#9D2157
RGBrgb(157, 33, 87)
HSLhsl(334, 65%, 37%)
HSVhsv(334, 79%, 62%)
CMYKcmyk(0%, 79%, 44.6%, 38.4%)
CIE-LABlab(35.88, 53.43, -0.46)
CIE-LCHlch(35.88, 53.43, 359.51°)
OKLaboklab(46.88% 0.1642 -0.0006)
OKLCHoklch(46.88% 0.164 359.8)
XYZxyz(16.1701, 8.9461, 9.8902)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2157 #219D67
analogous
#9D2195 #9D2157 #9D2921
triadic
#9D2157 #579D21 #21579D
tetradic
#9D2157 #959D21 #219D67 #29219D
square
#9D2157 #959D21 #219D67 #29219D
split-complementary
#9D2157 #219D29 #21959D
monochromatic
#380C1F #6A163B #9D2157 #D02C73 #DD5C94

Accessibility & contrast

On white

7.53
#9D2157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9D2157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2157
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2157#FFFFFF#000000##FFFFFF
##9D21571.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4558
Deuteranopia (green-blind)
#5F5D54
Tritanopia (blue-blind)
#AB0639
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d2157;
/* rgb */ color: rgb(157, 33, 87);
/* oklch */ color: oklch(46.9% 0.164 359.8);
Tailwind
colors: {
  custom: {
    50: '#bf6a86',
    500: '#9d2157',
    950: '#000000',
  },
}
SCSS
$custom: #9d2157;
$custom-light: #bf6a86;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2157",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 333.871,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46879,
    "c": 0.16419,
    "h": 359.8
  },
  "luminance": 0.08944
}

Semantic roles & 50–950 ramp

primary
#9D2157
secondary
#59C194
accent
#E89F40
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D2157

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

Preview Lab → · Contrast checker → · Palette generator →

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