#9F2F85#9F2F85

#9F2F85 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.174 H 338.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9F2F85
RGBrgb(159, 47, 133)
HSLhsl(314, 54%, 40%)
HSVhsv(314, 70%, 62%)
CMYKcmyk(0%, 70.4%, 16.4%, 37.6%)
CIE-LABlab(39.75, 54.85, -23.51)
CIE-LCHlch(39.75, 59.68, 336.80°)
OKLaboklab(50.36% 0.1624 -0.0636)
OKLCHoklch(50.36% 0.174 338.6)
XYZxyz(19.5486, 11.0992, 23.2986)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F85 #2F9F49
analogous
#812F9F #9F2F85 #9F2F4D
triadic
#9F2F85 #859F2F #2F859F
tetradic
#9F2F85 #9F812F #2F9F49 #2F4D9F
square
#9F2F85 #9F812F #2F9F49 #2F4D9F
split-complementary
#9F2F85 #4D9F2F #2F9F81
monochromatic
#411336 #70215D #9F2F85 #C844A9 #D673BF

Accessibility & contrast

On white

6.52
#9F2F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9F2F85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F85
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F85#FFFFFF#000000##FFFFFF
##9F2F851.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345287
Deuteranopia (green-blind)
#586482
Tritanopia (blue-blind)
#A83456
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2f85;
/* rgb */ color: rgb(159, 47, 133);
/* oklch */ color: oklch(50.4% 0.174 338.6);
Tailwind
colors: {
  custom: {
    50: '#bf71a8',
    500: '#9f2f85',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f85;
$custom-light: #bf71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f85",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 313.929,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50358,
    "c": 0.17443,
    "h": 338.6
  },
  "luminance": 0.11097
}

Semantic roles & 50–950 ramp

primary
#9F2F85
secondary
#6DBD7F
accent
#DE6C4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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