#9D2B71#9D2B71

#9D2B71 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.165 H 347.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9D2B71
RGBrgb(157, 43, 113)
HSLhsl(323, 57%, 39%)
HSVhsv(323, 73%, 62%)
CMYKcmyk(0%, 72.6%, 28%, 38.4%)
CIE-LABlab(38.00, 53.02, -13.80)
CIE-LCHlch(38.00, 54.79, 345.41°)
OKLaboklab(48.74% 0.1611 -0.0364)
OKLCHoklch(48.74% 0.165 347.3)
XYZxyz(17.7500, 10.0900, 16.6324)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2B71 #2B9D57
analogous
#902B9D #9D2B71 #9D2B38
triadic
#9D2B71 #719D2B #2B719D
tetradic
#9D2B71 #9D902B #2B9D57 #2B389D
square
#9D2B71 #9D902B #2B9D57 #2B389D
split-complementary
#9D2B71 #389D2B #2B9D90
monochromatic
#3D112C #6D1E4E #9D2B71 #CA3C93 #D76CAD

Accessibility & contrast

On white

6.96
#9D2B71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9D2B71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2B71
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2B71#FFFFFF#000000##FFFFFF
##9D2B711.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4D73
Deuteranopia (green-blind)
#5C616E
Tritanopia (blue-blind)
#A8274A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2b71;
/* rgb */ color: rgb(157, 43, 113);
/* oklch */ color: oklch(48.7% 0.165 347.3);
Tailwind
colors: {
  custom: {
    50: '#be6f9a',
    500: '#9d2b71',
    950: '#000000',
  },
}
SCSS
$custom: #9d2b71;
$custom-light: #be6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2b71",
  "rgb": {
    "r": 157,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 323.158,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48738,
    "c": 0.16518,
    "h": 347.3
  },
  "luminance": 0.10088
}

Semantic roles & 50–950 ramp

primary
#9D2B71
secondary
#66BD88
accent
#E08248
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2B71

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

Preview Lab → · Contrast checker → · Palette generator →

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