#9D2F74#9D2F74

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

Color values

HEX#9D2F74
RGBrgb(157, 47, 116)
HSLhsl(322, 54%, 40%)
HSVhsv(322, 70%, 62%)
CMYKcmyk(0%, 70.1%, 26.1%, 38.4%)
CIE-LABlab(38.66, 51.91, -14.68)
CIE-LCHlch(38.66, 53.95, 344.21°)
OKLaboklab(49.26% 0.1572 -0.0389)
OKLCHoklch(49.26% 0.162 346.1)
XYZxyz(18.0743, 10.4640, 17.5875)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F74 #2F9D58
analogous
#8F2F9D #9D2F74 #9D2F3D
triadic
#9D2F74 #749D2F #2F749D
tetradic
#9D2F74 #9D8F2F #2F9D58 #2F3D9D
square
#9D2F74 #9D8F2F #2F9D58 #2F3D9D
split-complementary
#9D2F74 #3D9D2F #2F9D8F
monochromatic
#3F132E #6E2151 #9D2F74 #C74395 #D572B0

Accessibility & contrast

On white

6.79
#9D2F74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9D2F74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2F74
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F74#FFFFFF#000000##FFFFFF
##9D2F741.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4F76
Deuteranopia (green-blind)
#5D6271
Tritanopia (blue-blind)
#A82D4D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2f74;
/* rgb */ color: rgb(157, 47, 116);
/* oklch */ color: oklch(49.3% 0.162 346.1);
Tailwind
colors: {
  custom: {
    50: '#be719c',
    500: '#9d2f74',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f74;
$custom-light: #be719c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f74",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 322.364,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.4926,
    "c": 0.16188,
    "h": 346.1
  },
  "luminance": 0.10462
}

Semantic roles & 50–950 ramp

primary
#9D2F74
secondary
#6BBC8A
accent
#DD814B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9D2F74

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

Preview Lab → · Contrast checker → · Palette generator →

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