#9D2174#9D2174

#9D2174 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.178 H 345.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9D2174
RGBrgb(157, 33, 116)
HSLhsl(320, 65%, 37%)
HSVhsv(320, 79%, 62%)
CMYKcmyk(0%, 79%, 26.1%, 38.4%)
CIE-LABlab(36.96, 56.70, -17.28)
CIE-LCHlch(36.96, 59.28, 343.05°)
OKLaboklab(48.02% 0.172 -0.046)
OKLCHoklch(48.02% 0.178 345)
XYZxyz(17.6016, 9.5187, 17.4300)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2174 #219D4A
analogous
#88219D #9D2174 #9D2136
triadic
#9D2174 #749D21 #21749D
tetradic
#9D2174 #9D8821 #219D4A #21369D
square
#9D2174 #9D8821 #219D4A #21369D
split-complementary
#9D2174 #369D21 #219D88
monochromatic
#380C29 #6A164F #9D2174 #D02C99 #DD5CB2

Accessibility & contrast

On white

7.23
#9D2174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9D2174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2174
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2174#FFFFFF#000000##FFFFFF
##9D21741.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324A76
Deuteranopia (green-blind)
#585E71
Tritanopia (blue-blind)
#A81F48
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d2174;
/* rgb */ color: rgb(157, 33, 116);
/* oklch */ color: oklch(48.0% 0.178 345.0);
Tailwind
colors: {
  custom: {
    50: '#be6b9c',
    500: '#9d2174',
    950: '#000000',
  },
}
SCSS
$custom: #9d2174;
$custom-light: #be6b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2174",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 319.839,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48023,
    "c": 0.17803,
    "h": 345
  },
  "luminance": 0.09517
}

Semantic roles & 50–950 ramp

primary
#9D2174
secondary
#59C17B
accent
#E87740
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9D2174

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

Preview Lab → · Contrast checker → · Palette generator →

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