#9F2F7E#9F2F7E

#9F2F7E is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.170 H 341.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9F2F7E
RGBrgb(159, 47, 126)
HSLhsl(318, 54%, 40%)
HSVhsv(318, 70%, 62%)
CMYKcmyk(0%, 70.4%, 20.8%, 37.6%)
CIE-LABlab(39.43, 53.84, -19.68)
CIE-LCHlch(39.43, 57.32, 339.92°)
OKLaboklab(50.03% 0.1612 -0.0528)
OKLCHoklch(50.03% 0.17 341.9)
XYZxyz(19.0811, 10.9122, 20.8360)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F7E #2F9F50
analogous
#882F9F #9F2F7E #9F2F46
triadic
#9F2F7E #7E9F2F #2F7E9F
tetradic
#9F2F7E #9F882F #2F9F50 #2F469F
square
#9F2F7E #9F882F #2F9F50 #2F469F
split-complementary
#9F2F7E #469F2F #2F9F88
monochromatic
#411333 #702159 #9F2F7E #C844A1 #D673B8

Accessibility & contrast

On white

6.60
#9F2F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9F2F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F7E
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F7E#FFFFFF#000000##FFFFFF
##9F2F7E1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385180
Deuteranopia (green-blind)
#5B647B
Tritanopia (blue-blind)
#A93052
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2f7e;
/* rgb */ color: rgb(159, 47, 126);
/* oklch */ color: oklch(50.0% 0.170 341.9);
Tailwind
colors: {
  custom: {
    50: '#bf71a3',
    500: '#9f2f7e',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f7e;
$custom-light: #bf71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f7e",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 317.679,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50026,
    "c": 0.16967,
    "h": 341.9
  },
  "luminance": 0.1091
}

Semantic roles & 50–950 ramp

primary
#9F2F7E
secondary
#6DBD84
accent
#DE764A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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