#9F2F77#9F2F77

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

Color values

HEX#9F2F77
RGBrgb(159, 47, 119)
HSLhsl(321, 54%, 40%)
HSVhsv(321, 70%, 62%)
CMYKcmyk(0%, 70.4%, 25.2%, 37.6%)
CIE-LABlab(39.14, 52.87, -15.79)
CIE-LCHlch(39.14, 55.18, 343.37°)
OKLaboklab(49.71% 0.1598 -0.0419)
OKLCHoklch(49.71% 0.165 345.3)
XYZxyz(18.6451, 10.7378, 18.5399)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F77 #2F9F57
analogous
#8F2F9F #9F2F77 #9F2F3F
triadic
#9F2F77 #779F2F #2F779F
tetradic
#9F2F77 #9F8F2F #2F9F57 #2F3F9F
square
#9F2F77 #9F8F2F #2F9F57 #2F3F9F
split-complementary
#9F2F77 #3F9F2F #2F9F8F
monochromatic
#411330 #702154 #9F2F77 #C84498 #D673B2

Accessibility & contrast

On white

6.67
#9F2F77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9F2F77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F77
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F77#FFFFFF#000000##FFFFFF
##9F2F771.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5079
Deuteranopia (green-blind)
#5D6374
Tritanopia (blue-blind)
#AA2D4F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2f77;
/* rgb */ color: rgb(159, 47, 119);
/* oklch */ color: oklch(49.7% 0.165 345.3);
Tailwind
colors: {
  custom: {
    50: '#bf719e',
    500: '#9f2f77',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f77;
$custom-light: #bf719e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f77",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 321.429,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49712,
    "c": 0.16521,
    "h": 345.3
  },
  "luminance": 0.10736
}

Semantic roles & 50–950 ramp

primary
#9F2F77
secondary
#6DBD89
accent
#DE7F4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2F77

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

Preview Lab → · Contrast checker → · Palette generator →

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