#9F2D73#9F2D73

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

Color values

HEX#9F2D73
RGBrgb(159, 45, 115)
HSLhsl(323, 56%, 40%)
HSVhsv(323, 72%, 62%)
CMYKcmyk(0%, 71.7%, 27.7%, 37.6%)
CIE-LABlab(38.70, 53.09, -13.96)
CIE-LCHlch(38.70, 54.90, 345.27°)
OKLaboklab(49.34% 0.1612 -0.0368)
OKLCHoklch(49.34% 0.165 347.1)
XYZxyz(18.3318, 10.4875, 17.2752)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D73 #2D9F59
analogous
#922D9F #9F2D73 #9F2D3A
triadic
#9F2D73 #739F2D #2D739F
tetradic
#9F2D73 #9F922D #2D9F59 #2D3A9F
square
#9F2D73 #9F922D #2D9F59 #2D3A9F
split-complementary
#9F2D73 #3A9F2D #2D9F92
monochromatic
#40122E #6F2050 #9F2D73 #C94094 #D670AF

Accessibility & contrast

On white

6.78
#9F2D73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2D73
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D73#FFFFFF#000000##FFFFFF
##9F2D731.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4F75
Deuteranopia (green-blind)
#5E6270
Tritanopia (blue-blind)
#AA294C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2d73;
/* rgb */ color: rgb(159, 45, 115);
/* oklch */ color: oklch(49.3% 0.165 347.1);
Tailwind
colors: {
  custom: {
    50: '#bf709b',
    500: '#9f2d73',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d73;
$custom-light: #bf709b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d73",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 323.158,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.49343,
    "c": 0.16536,
    "h": 347.1
  },
  "luminance": 0.10486
}

Semantic roles & 50–950 ramp

primary
#9F2D73
secondary
#6ABE8A
accent
#DF8349
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2D73

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

Preview Lab → · Contrast checker → · Palette generator →

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