#9F2F7A#9F2F7A

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

Color values

HEX#9F2F7A
RGBrgb(159, 47, 122)
HSLhsl(320, 54%, 40%)
HSVhsv(320, 70%, 62%)
CMYKcmyk(0%, 70.4%, 23.3%, 37.6%)
CIE-LABlab(39.26, 53.28, -17.46)
CIE-LCHlch(39.26, 56.07, 341.85°)
OKLaboklab(49.84% 0.1605 -0.0466)
OKLCHoklch(49.84% 0.167 343.8)
XYZxyz(18.8281, 10.8110, 19.5037)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F7A #2F9F54
analogous
#8C2F9F #9F2F7A #9F2F42
triadic
#9F2F7A #7A9F2F #2F7A9F
tetradic
#9F2F7A #9F8C2F #2F9F54 #2F429F
square
#9F2F7A #9F8C2F #2F9F54 #2F429F
split-complementary
#9F2F7A #429F2F #2F9F8C
monochromatic
#411332 #702156 #9F2F7A #C8449C #D673B5

Accessibility & contrast

On white

6.64
#9F2F7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9F2F7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F7A
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F7A#FFFFFF#000000##FFFFFF
##9F2F7A1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517C
Deuteranopia (green-blind)
#5C6377
Tritanopia (blue-blind)
#A92F50
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2f7a;
/* rgb */ color: rgb(159, 47, 122);
/* oklch */ color: oklch(49.8% 0.167 343.8);
Tailwind
colors: {
  custom: {
    50: '#bf71a0',
    500: '#9f2f7a',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f7a;
$custom-light: #bf71a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f7a",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 319.821,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49844,
    "c": 0.16708,
    "h": 343.8
  },
  "luminance": 0.10809
}

Semantic roles & 50–950 ramp

primary
#9F2F7A
secondary
#6DBD87
accent
#DE7B4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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