#9F2B74#9F2B74

#9F2B74 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.168 H 346.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9F2B74
RGBrgb(159, 43, 116)
HSLhsl(322, 57%, 40%)
HSVhsv(322, 73%, 62%)
CMYKcmyk(0%, 73%, 27%, 37.6%)
CIE-LABlab(38.48, 53.95, -14.92)
CIE-LCHlch(38.48, 55.98, 344.55°)
OKLaboklab(49.2% 0.1637 -0.0395)
OKLCHoklch(49.2% 0.168 346.4)
XYZxyz(18.3151, 10.3616, 17.5551)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B74 #2B9F56
analogous
#902B9F #9F2B74 #9F2B3A
triadic
#9F2B74 #749F2B #2B749F
tetradic
#9F2B74 #9F902B #2B9F56 #2B3A9F
square
#9F2B74 #9F902B #2B9F56 #2B3A9F
split-complementary
#9F2B74 #3A9F2B #2B9F90
monochromatic
#3F112E #6F1E51 #9F2B74 #CA3D96 #D76DB0

Accessibility & contrast

On white

6.84
#9F2B74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9F2B74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2B74
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B74#FFFFFF#000000##FFFFFF
##9F2B741.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4E76
Deuteranopia (green-blind)
#5D6271
Tritanopia (blue-blind)
#AA284C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2b74;
/* rgb */ color: rgb(159, 43, 116);
/* oklch */ color: oklch(49.2% 0.168 346.4);
Tailwind
colors: {
  custom: {
    50: '#bf6f9c',
    500: '#9f2b74',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b74;
$custom-light: #bf6f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b74",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 322.241,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49196,
    "c": 0.1684,
    "h": 346.4
  },
  "luminance": 0.1036
}

Semantic roles & 50–950 ramp

primary
#9F2B74
secondary
#67BE88
accent
#E18047
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2B74

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

Preview Lab → · Contrast checker → · Palette generator →

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