#9F2F78#9F2F78

#9F2F78 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.166 H 344.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9F2F78
RGBrgb(159, 47, 120)
HSLhsl(321, 54%, 40%)
HSVhsv(321, 70%, 62%)
CMYKcmyk(0%, 70.4%, 24.5%, 37.6%)
CIE-LABlab(39.18, 53.01, -16.35)
CIE-LCHlch(39.18, 55.47, 342.86°)
OKLaboklab(49.76% 0.16 -0.0435)
OKLCHoklch(49.76% 0.166 344.8)
XYZxyz(18.7055, 10.7619, 18.8578)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F78 #2F9F56
analogous
#8E2F9F #9F2F78 #9F2F40
triadic
#9F2F78 #789F2F #2F789F
tetradic
#9F2F78 #9F8E2F #2F9F56 #2F409F
square
#9F2F78 #9F8E2F #2F9F56 #2F409F
split-complementary
#9F2F78 #409F2F #2F9F8E
monochromatic
#411331 #702154 #9F2F78 #C8449A #D673B3

Accessibility & contrast

On white

6.66
#9F2F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9F2F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F78
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F78#FFFFFF#000000##FFFFFF
##9F2F781.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2f78;
/* rgb */ color: rgb(159, 47, 120);
/* oklch */ color: oklch(49.8% 0.166 344.8);
Tailwind
colors: {
  custom: {
    50: '#bf719f',
    500: '#9f2f78',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f78;
$custom-light: #bf719f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f78",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 320.893,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49756,
    "c": 0.16582,
    "h": 344.8
  },
  "luminance": 0.1076
}

Semantic roles & 50–950 ramp

primary
#9F2F78
secondary
#6DBD89
accent
#DE7D4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2F78

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

Preview Lab → · Contrast checker → · Palette generator →

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