#9F2E78#9F2E78

#9F2E78 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.167 H 344.7°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9F2E78
RGBrgb(159, 46, 120)
HSLhsl(321, 55%, 40%)
HSVhsv(321, 71%, 62%)
CMYKcmyk(0%, 71.1%, 24.5%, 37.6%)
CIE-LABlab(39.04, 53.38, -16.56)
CIE-LCHlch(39.04, 55.89, 342.77°)
OKLaboklab(49.66% 0.1612 -0.0441)
OKLCHoklch(49.66% 0.167 344.7)
XYZxyz(18.6660, 10.6829, 18.8446)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E78 #2E9F55
analogous
#8D2E9F #9F2E78 #9F2E3F
triadic
#9F2E78 #789F2E #2E789F
tetradic
#9F2E78 #9F8D2E #2E9F55 #2E3F9F
square
#9F2E78 #9F8D2E #2E9F55 #2E3F9F
split-complementary
#9F2E78 #3F9F2E #2E9F8D
monochromatic
#401330 #702054 #9F2E78 #C8429A #D671B3

Accessibility & contrast

On white

6.70
#9F2E78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9F2E78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E78
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E78#FFFFFF#000000##FFFFFF
##9F2E781.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B507A
Deuteranopia (green-blind)
#5C6375
Tritanopia (blue-blind)
#AA2D4F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2e78;
/* rgb */ color: rgb(159, 46, 120);
/* oklch */ color: oklch(49.7% 0.167 344.7);
Tailwind
colors: {
  custom: {
    50: '#bf709f',
    500: '#9f2e78',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e78;
$custom-light: #bf709f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e78",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 320.708,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49657,
    "c": 0.1671,
    "h": 344.7
  },
  "luminance": 0.10681
}

Semantic roles & 50–950 ramp

primary
#9F2E78
secondary
#6BBE88
accent
#DE7D49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2E78

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

Preview Lab → · Contrast checker → · Palette generator →

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