#9D2F73#9D2F73

#9D2F73 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.161 H 346.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9D2F73
RGBrgb(157, 47, 115)
HSLhsl(323, 54%, 40%)
HSVhsv(323, 70%, 62%)
CMYKcmyk(0%, 70.1%, 26.8%, 38.4%)
CIE-LABlab(38.62, 51.78, -14.11)
CIE-LCHlch(38.62, 53.67, 344.75°)
OKLaboklab(49.22% 0.1569 -0.0373)
OKLCHoklch(49.22% 0.161 346.6)
XYZxyz(18.0164, 10.4408, 17.2828)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F73 #2F9D59
analogous
#902F9D #9D2F73 #9D2F3C
triadic
#9D2F73 #739D2F #2F739D
tetradic
#9D2F73 #9D902F #2F9D59 #2F3C9D
square
#9D2F73 #9D902F #2F9D59 #2F3C9D
split-complementary
#9D2F73 #3C9D2F #2F9D90
monochromatic
#3F132E #6E2151 #9D2F73 #C74394 #D572AF

Accessibility & contrast

On white

6.80
#9D2F73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2F73
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F73#FFFFFF#000000##FFFFFF
##9D2F731.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4F75
Deuteranopia (green-blind)
#5D6270
Tritanopia (blue-blind)
#A82C4D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2f73;
/* rgb */ color: rgb(157, 47, 115);
/* oklch */ color: oklch(49.2% 0.161 346.6);
Tailwind
colors: {
  custom: {
    50: '#be709b',
    500: '#9d2f73',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f73;
$custom-light: #be709b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f73",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 322.909,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.49217,
    "c": 0.16129,
    "h": 346.6
  },
  "luminance": 0.10439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D2F73

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

Preview Lab → · Contrast checker → · Palette generator →

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