#9F2D74#9F2D74

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

Color values

HEX#9F2D74
RGBrgb(159, 45, 116)
HSLhsl(323, 56%, 40%)
HSVhsv(323, 72%, 62%)
CMYKcmyk(0%, 71.7%, 27%, 37.6%)
CIE-LABlab(38.74, 53.22, -14.52)
CIE-LCHlch(38.74, 55.17, 344.74°)
OKLaboklab(49.39% 0.1615 -0.0384)
OKLCHoklch(49.39% 0.166 346.6)
XYZxyz(18.3896, 10.5106, 17.5799)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D74 #2D9F58
analogous
#912D9F #9F2D74 #9F2D3B
triadic
#9F2D74 #749F2D #2D749F
tetradic
#9F2D74 #9F912D #2D9F58 #2D3B9F
square
#9F2D74 #9F912D #2D9F58 #2D3B9F
split-complementary
#9F2D74 #3B9F2D #2D9F91
monochromatic
#40122E #6F2051 #9F2D74 #C94095 #D670B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2D74#FFFFFF#000000##FFFFFF
##9F2D741.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)
#3C4F76
Deuteranopia (green-blind)
#5D6271
Tritanopia (blue-blind)
#AA2A4C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2d74;
/* rgb */ color: rgb(159, 45, 116);
/* oklch */ color: oklch(49.4% 0.166 346.6);
Tailwind
colors: {
  custom: {
    50: '#bf709c',
    500: '#9f2d74',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d74;
$custom-light: #bf709c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d74",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 322.632,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.49386,
    "c": 0.16595,
    "h": 346.6
  },
  "luminance": 0.10509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F2D74

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

Preview Lab → · Contrast checker → · Palette generator →

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