#9D2671#9D2671

#9D2671 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.171 H 346.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9D2671
RGBrgb(157, 38, 113)
HSLhsl(322, 61%, 38%)
HSVhsv(322, 76%, 62%)
CMYKcmyk(0%, 75.8%, 28%, 38.4%)
CIE-LABlab(37.39, 54.76, -14.74)
CIE-LCHlch(37.39, 56.71, 344.93°)
OKLaboklab(48.29% 0.1665 -0.039)
OKLCHoklch(48.29% 0.171 346.8)
XYZxyz(17.5792, 9.7485, 16.5755)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2671 #269D52
analogous
#8D269D #9D2671 #9D2635
triadic
#9D2671 #719D26 #26719D
tetradic
#9D2671 #9D8D26 #269D52 #26359D
square
#9D2671 #9D8D26 #269D52 #26359D
split-complementary
#9D2671 #359D26 #269D8D
monochromatic
#3A0E2A #6C1A4E #9D2671 #CE3394 #D964AE

Accessibility & contrast

On white

7.12
#9D2671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9D2671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2671
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2671#FFFFFF#000000##FFFFFF
##9D26711.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B73
Deuteranopia (green-blind)
#5A5F6E
Tritanopia (blue-blind)
#A82248
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d2671;
/* rgb */ color: rgb(157, 38, 113);
/* oklch */ color: oklch(48.3% 0.171 346.8);
Tailwind
colors: {
  custom: {
    50: '#be6c9a',
    500: '#9d2671',
    950: '#000000',
  },
}
SCSS
$custom: #9d2671;
$custom-light: #be6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2671",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 322.185,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48289,
    "c": 0.17101,
    "h": 346.8
  },
  "luminance": 0.09747
}

Semantic roles & 50–950 ramp

primary
#9D2671
secondary
#60BF83
accent
#E47F44
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9D2671

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

Preview Lab → · Contrast checker → · Palette generator →

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