#9F2F72#9F2F72

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

Color values

HEX#9F2F72
RGBrgb(159, 47, 114)
HSLhsl(324, 54%, 40%)
HSVhsv(324, 70%, 62%)
CMYKcmyk(0%, 70.4%, 28.3%, 37.6%)
CIE-LABlab(38.93, 52.21, -12.98)
CIE-LCHlch(38.93, 53.80, 346.04°)
OKLaboklab(49.5% 0.1586 -0.0342)
OKLCHoklch(49.5% 0.162 347.8)
XYZxyz(18.3527, 10.6208, 16.9998)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F72 #2F9F5C
analogous
#942F9F #9F2F72 #9F2F3A
triadic
#9F2F72 #729F2F #2F729F
tetradic
#9F2F72 #9F942F #2F9F5C #2F3A9F
square
#9F2F72 #9F942F #2F9F5C #2F3A9F
split-complementary
#9F2F72 #3A9F2F #2F9F94
monochromatic
#41132E #702150 #9F2F72 #C84493 #D673AE

Accessibility & contrast

On white

6.72
#9F2F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2F72
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F72#FFFFFF#000000##FFFFFF
##9F2F721.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F74
Deuteranopia (green-blind)
#5F636F
Tritanopia (blue-blind)
#AA2B4C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2f72;
/* rgb */ color: rgb(159, 47, 114);
/* oklch */ color: oklch(49.5% 0.162 347.8);
Tailwind
colors: {
  custom: {
    50: '#bf719a',
    500: '#9f2f72',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f72;
$custom-light: #bf719a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f72",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 324.107,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49499,
    "c": 0.16227,
    "h": 347.8
  },
  "luminance": 0.10619
}

Semantic roles & 50–950 ramp

primary
#9F2F72
secondary
#6DBD8D
accent
#DE854A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2F72

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

Preview Lab → · Contrast checker → · Palette generator →

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