#9F2978#9F2978

#9F2978 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.173 H 344.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9F2978
RGBrgb(159, 41, 120)
HSLhsl(320, 59%, 39%)
HSVhsv(320, 74%, 62%)
CMYKcmyk(0%, 74.2%, 24.5%, 37.6%)
CIE-LABlab(38.40, 55.18, -17.54)
CIE-LCHlch(38.40, 57.90, 342.37°)
OKLaboklab(49.19% 0.1667 -0.0468)
OKLCHoklch(49.19% 0.173 344.3)
XYZxyz(18.4819, 10.3148, 18.7833)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2978 #299F50
analogous
#8B299F #9F2978 #9F293D
triadic
#9F2978 #789F29 #29789F
tetradic
#9F2978 #9F8B29 #299F50 #293D9F
square
#9F2978 #9F8B29 #299F50 #293D9F
split-complementary
#9F2978 #3D9F29 #299F8B
monochromatic
#3E102F #6E1C53 #9F2978 #CC399B #D96AB4

Accessibility & contrast

On white

6.86
#9F2978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9F2978 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2978
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2978#FFFFFF#000000##FFFFFF
##9F29781.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374E7A
Deuteranopia (green-blind)
#5B6275
Tritanopia (blue-blind)
#AA284D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2978;
/* rgb */ color: rgb(159, 41, 120);
/* oklch */ color: oklch(49.2% 0.173 344.3);
Tailwind
colors: {
  custom: {
    50: '#bf6e9f',
    500: '#9f2978',
    950: '#000000',
  },
}
SCSS
$custom: #9f2978;
$custom-light: #bf6e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2978",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 120
  },
  "hsl": {
    "h": 319.831,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49191,
    "c": 0.17316,
    "h": 344.3
  },
  "luminance": 0.10313
}

Semantic roles & 50–950 ramp

primary
#9F2978
secondary
#65BF83
accent
#E27946
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2978

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

Preview Lab → · Contrast checker → · Palette generator →

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