#9F2E79#9F2E79

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

Color values

HEX#9F2E79
RGBrgb(159, 46, 121)
HSLhsl(320, 55%, 40%)
HSVhsv(320, 71%, 62%)
CMYKcmyk(0%, 71.1%, 23.9%, 37.6%)
CIE-LABlab(39.08, 53.52, -17.12)
CIE-LCHlch(39.08, 56.19, 342.27°)
OKLaboklab(49.7% 0.1614 -0.0456)
OKLCHoklch(49.7% 0.168 344.2)
XYZxyz(18.7270, 10.7073, 19.1659)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E79 #2E9F54
analogous
#8C2E9F #9F2E79 #9F2E40
triadic
#9F2E79 #799F2E #2E799F
tetradic
#9F2E79 #9F8C2E #2E9F54 #2E409F
square
#9F2E79 #9F8C2E #2E9F54 #2E409F
split-complementary
#9F2E79 #409F2E #2E9F8C
monochromatic
#401331 #702055 #9F2E79 #C8429B #D671B4

Accessibility & contrast

On white

6.69
#9F2E79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2E79
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E79#FFFFFF#000000##FFFFFF
##9F2E791.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A507B
Deuteranopia (green-blind)
#5C6376
Tritanopia (blue-blind)
#A92D4F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2e79;
/* rgb */ color: rgb(159, 46, 121);
/* oklch */ color: oklch(49.7% 0.168 344.2);
Tailwind
colors: {
  custom: {
    50: '#bf709f',
    500: '#9f2e79',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e79;
$custom-light: #bf709f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e79",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 320.177,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49701,
    "c": 0.16772,
    "h": 344.2
  },
  "luminance": 0.10705
}

Semantic roles & 50–950 ramp

primary
#9F2E79
secondary
#6BBE87
accent
#DE7B49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2E79

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

Preview Lab → · Contrast checker → · Palette generator →

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