#9F2779#9F2779

#9F2779 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.176 H 343.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9F2779
RGBrgb(159, 39, 121)
HSLhsl(319, 61%, 39%)
HSVhsv(319, 75%, 62%)
CMYKcmyk(0%, 75.5%, 23.9%, 37.6%)
CIE-LABlab(38.21, 55.99, -18.46)
CIE-LCHlch(38.21, 58.95, 341.75°)
OKLaboklab(49.06% 0.169 -0.0493)
OKLCHoklch(49.06% 0.176 343.7)
XYZxyz(18.4755, 10.2044, 19.0821)
Luminance0.1020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2779 #279F4D
analogous
#89279F #9F2779 #9F273D
triadic
#9F2779 #799F27 #27799F
tetradic
#9F2779 #9F8927 #279F4D #273D9F
square
#9F2779 #9F8927 #279F4D #273D9F
split-complementary
#9F2779 #3D9F27 #279F89
monochromatic
#3D0F2E #6E1B54 #9F2779 #CE369D #DA67B5

Accessibility & contrast

On white

6.91
#9F2779 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9F2779 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2779
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2779#FFFFFF#000000##FFFFFF
##9F27791.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354D7B
Deuteranopia (green-blind)
#5A6176
Tritanopia (blue-blind)
#AA274D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2779;
/* rgb */ color: rgb(159, 39, 121);
/* oklch */ color: oklch(49.1% 0.176 343.7);
Tailwind
colors: {
  custom: {
    50: '#bf6da0',
    500: '#9f2779',
    950: '#000000',
  },
}
SCSS
$custom: #9f2779;
$custom-light: #bf6da0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2779",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 319,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49063,
    "c": 0.17604,
    "h": 343.7
  },
  "luminance": 0.10202
}

Semantic roles & 50–950 ramp

primary
#9F2779
secondary
#62C080
accent
#E47744
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2779

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

Preview Lab → · Contrast checker → · Palette generator →

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