#9D2F76#9D2F76

#9D2F76 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.163 H 345.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9D2F76
RGBrgb(157, 47, 118)
HSLhsl(321, 54%, 40%)
HSVhsv(321, 70%, 62%)
CMYKcmyk(0%, 70.1%, 24.8%, 38.4%)
CIE-LABlab(38.74, 52.18, -15.80)
CIE-LCHlch(38.74, 54.52, 343.16°)
OKLaboklab(49.35% 0.1576 -0.042)
OKLCHoklch(49.35% 0.163 345.1)
XYZxyz(18.1919, 10.5110, 18.2068)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F76 #2F9D56
analogous
#8D2F9D #9D2F76 #9D2F3F
triadic
#9D2F76 #769D2F #2F769D
tetradic
#9D2F76 #9D8D2F #2F9D56 #2F3F9D
square
#9D2F76 #9D8D2F #2F9D56 #2F3F9D
split-complementary
#9D2F76 #3F9D2F #2F9D8D
monochromatic
#3F132F #6E2153 #9D2F76 #C74398 #D572B2

Accessibility & contrast

On white

6.77
#9D2F76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9D2F76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2F76
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F76#FFFFFF#000000##FFFFFF
##9D2F761.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4F78
Deuteranopia (green-blind)
#5C6273
Tritanopia (blue-blind)
#A72D4E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2f76;
/* rgb */ color: rgb(157, 47, 118);
/* oklch */ color: oklch(49.3% 0.163 345.1);
Tailwind
colors: {
  custom: {
    50: '#be719d',
    500: '#9d2f76',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f76;
$custom-light: #be719d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f76",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 321.273,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.49346,
    "c": 0.1631,
    "h": 345.1
  },
  "luminance": 0.10509
}

Semantic roles & 50–950 ramp

primary
#9D2F76
secondary
#6BBC88
accent
#DD7F4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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