#9D2167#9D2167

#9D2167 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.171 H 351.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#9D2167
RGBrgb(157, 33, 103)
HSLhsl(326, 65%, 37%)
HSVhsv(326, 79%, 62%)
CMYKcmyk(0%, 79%, 34.4%, 38.4%)
CIE-LABlab(36.44, 55.13, -9.87)
CIE-LCHlch(36.44, 56.00, 349.85°)
OKLaboklab(47.47% 0.169 -0.0256)
OKLCHoklch(47.47% 0.171 351.4)
XYZxyz(16.8977, 9.2371, 13.7224)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2167 #219D57
analogous
#95219D #9D2167 #9D2129
triadic
#9D2167 #679D21 #21679D
tetradic
#9D2167 #9D9521 #219D57 #21299D
square
#9D2167 #9D9521 #219D57 #21299D
split-complementary
#9D2167 #299D21 #219D95
monochromatic
#380C25 #6A1646 #9D2167 #D02C88 #DD5CA5

Accessibility & contrast

On white

7.38
#9D2167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9D2167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2167
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2167#FFFFFF#000000##FFFFFF
##9D21671.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384869
Deuteranopia (green-blind)
#5C5E64
Tritanopia (blue-blind)
#A91541
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d2167;
/* rgb */ color: rgb(157, 33, 103);
/* oklch */ color: oklch(47.5% 0.171 351.4);
Tailwind
colors: {
  custom: {
    50: '#bf6a92',
    500: '#9d2167',
    950: '#000000',
  },
}
SCSS
$custom: #9d2167;
$custom-light: #bf6a92;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2167",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 103
  },
  "hsl": {
    "h": 326.129,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47468,
    "c": 0.17094,
    "h": 351.4
  },
  "luminance": 0.09235
}

Semantic roles & 50–950 ramp

primary
#9D2167
secondary
#59C186
accent
#E88940
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070D
muted
#827A7D

Preview Lab

Preview with #9D2167

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

Preview Lab → · Contrast checker → · Palette generator →

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