#9F2F71#9F2F71

#9F2F71 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.162 H 348.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9F2F71
RGBrgb(159, 47, 113)
HSLhsl(325, 54%, 40%)
HSVhsv(325, 70%, 62%)
CMYKcmyk(0%, 70.4%, 28.9%, 37.6%)
CIE-LABlab(38.90, 52.08, -12.41)
CIE-LCHlch(38.90, 53.54, 346.59°)
OKLaboklab(49.46% 0.1584 -0.0326)
OKLCHoklch(49.46% 0.162 348.4)
XYZxyz(18.2961, 10.5982, 16.7017)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F71 #2F9F5D
analogous
#952F9F #9F2F71 #9F2F39
triadic
#9F2F71 #719F2F #2F719F
tetradic
#9F2F71 #9F952F #2F9F5D #2F399F
square
#9F2F71 #9F952F #2F9F5D #2F399F
split-complementary
#9F2F71 #399F2F #2F9F95
monochromatic
#41132E #70214F #9F2F71 #C84491 #D673AD

Accessibility & contrast

On white

6.73
#9F2F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9F2F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F71
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F71#FFFFFF#000000##FFFFFF
##9F2F711.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F73
Deuteranopia (green-blind)
#5F636E
Tritanopia (blue-blind)
#AA2A4C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2f71;
/* rgb */ color: rgb(159, 47, 113);
/* oklch */ color: oklch(49.5% 0.162 348.4);
Tailwind
colors: {
  custom: {
    50: '#bf7199',
    500: '#9f2f71',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f71;
$custom-light: #bf7199;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f71",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 324.643,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49458,
    "c": 0.1617,
    "h": 348.4
  },
  "luminance": 0.10596
}

Semantic roles & 50–950 ramp

primary
#9F2F71
secondary
#6DBD8E
accent
#DE874A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2F71

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

Preview Lab → · Contrast checker → · Palette generator →

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