#9F2F80#9F2F80

#9F2F80 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.171 H 340.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9F2F80
RGBrgb(159, 47, 128)
HSLhsl(317, 54%, 40%)
HSVhsv(317, 70%, 62%)
CMYKcmyk(0%, 70.4%, 19.5%, 37.6%)
CIE-LABlab(39.52, 54.12, -20.78)
CIE-LCHlch(39.52, 57.97, 339.00°)
OKLaboklab(50.12% 0.1616 -0.0559)
OKLCHoklch(50.12% 0.171 340.9)
XYZxyz(19.2114, 10.9643, 21.5224)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F80 #2F9F4E
analogous
#862F9F #9F2F80 #9F2F48
triadic
#9F2F80 #809F2F #2F809F
tetradic
#9F2F80 #9F862F #2F9F4E #2F489F
square
#9F2F80 #9F862F #2F9F4E #2F489F
split-complementary
#9F2F80 #489F2F #2F9F86
monochromatic
#411334 #70215A #9F2F80 #C844A3 #D673BA

Accessibility & contrast

On white

6.58
#9F2F80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9F2F80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F80
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F80#FFFFFF#000000##FFFFFF
##9F2F801.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375282
Deuteranopia (green-blind)
#5A647D
Tritanopia (blue-blind)
#A93153
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2f80;
/* rgb */ color: rgb(159, 47, 128);
/* oklch */ color: oklch(50.1% 0.171 340.9);
Tailwind
colors: {
  custom: {
    50: '#bf71a5',
    500: '#9f2f80',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f80;
$custom-light: #bf71a5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f80",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 316.607,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50119,
    "c": 0.171,
    "h": 340.9
  },
  "luminance": 0.10962
}

Semantic roles & 50–950 ramp

primary
#9F2F80
secondary
#6DBD83
accent
#DE734A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2F80

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

Preview Lab → · Contrast checker → · Palette generator →

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