#9D2B74#9D2B74

#9D2B74 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.167 H 345.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9D2B74
RGBrgb(157, 43, 116)
HSLhsl(322, 57%, 39%)
HSVhsv(322, 73%, 62%)
CMYKcmyk(0%, 72.6%, 26.1%, 38.4%)
CIE-LABlab(38.13, 53.41, -15.50)
CIE-LCHlch(38.13, 55.62, 343.82°)
OKLaboklab(48.87% 0.1618 -0.0411)
OKLCHoklch(48.87% 0.167 345.7)
XYZxyz(17.9216, 10.1587, 17.5366)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2B74 #2B9D54
analogous
#8D2B9D #9D2B74 #9D2B3B
triadic
#9D2B74 #749D2B #2B749D
tetradic
#9D2B74 #9D8D2B #2B9D54 #2B3B9D
square
#9D2B74 #9D8D2B #2B9D54 #2B3B9D
split-complementary
#9D2B74 #3B9D2B #2B9D8D
monochromatic
#3D112D #6D1E51 #9D2B74 #CA3C97 #D76CB0

Accessibility & contrast

On white

6.93
#9D2B74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9D2B74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2B74
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2B74#FFFFFF#000000##FFFFFF
##9D2B741.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394D76
Deuteranopia (green-blind)
#5B6171
Tritanopia (blue-blind)
#A8294C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2b74;
/* rgb */ color: rgb(157, 43, 116);
/* oklch */ color: oklch(48.9% 0.167 345.7);
Tailwind
colors: {
  custom: {
    50: '#be6f9c',
    500: '#9d2b74',
    950: '#000000',
  },
}
SCSS
$custom: #9d2b74;
$custom-light: #be6f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2b74",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 321.579,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48868,
    "c": 0.16693,
    "h": 345.7
  },
  "luminance": 0.10157
}

Semantic roles & 50–950 ramp

primary
#9D2B74
secondary
#66BD86
accent
#E07E48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2B74

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

Preview Lab → · Contrast checker → · Palette generator →

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