#9F2F74#9F2F74

#9F2F74 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.163 H 346.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9F2F74
RGBrgb(159, 47, 116)
HSLhsl(323, 54%, 40%)
HSVhsv(323, 70%, 62%)
CMYKcmyk(0%, 70.4%, 27%, 37.6%)
CIE-LABlab(39.01, 52.47, -14.11)
CIE-LCHlch(39.01, 54.33, 344.95°)
OKLaboklab(49.58% 0.1591 -0.0373)
OKLCHoklch(49.58% 0.163 346.8)
XYZxyz(18.4678, 10.6669, 17.6059)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F74 #2F9F5A
analogous
#922F9F #9F2F74 #9F2F3C
triadic
#9F2F74 #749F2F #2F749F
tetradic
#9F2F74 #9F922F #2F9F5A #2F3C9F
square
#9F2F74 #9F922F #2F9F5A #2F3C9F
split-complementary
#9F2F74 #3C9F2F #2F9F92
monochromatic
#41132F #702152 #9F2F74 #C84495 #D673B0

Accessibility & contrast

On white

6.70
#9F2F74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9F2F74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F74
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F74#FFFFFF#000000##FFFFFF
##9F2F741.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5076
Deuteranopia (green-blind)
#5E6371
Tritanopia (blue-blind)
#AA2C4D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2f74;
/* rgb */ color: rgb(159, 47, 116);
/* oklch */ color: oklch(49.6% 0.163 346.8);
Tailwind
colors: {
  custom: {
    50: '#bf719c',
    500: '#9f2f74',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f74;
$custom-light: #bf719c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f74",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 323.036,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49583,
    "c": 0.16342,
    "h": 346.8
  },
  "luminance": 0.10665
}

Semantic roles & 50–950 ramp

primary
#9F2F74
secondary
#6DBD8C
accent
#DE834A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2F74

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

Preview Lab → · Contrast checker → · Palette generator →

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