#9F2C75#9F2C75

#9F2C75 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.168 H 346.0°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9F2C75
RGBrgb(159, 44, 117)
HSLhsl(322, 57%, 40%)
HSVhsv(322, 72%, 62%)
CMYKcmyk(0%, 72.3%, 26.4%, 37.6%)
CIE-LABlab(38.65, 53.72, -15.28)
CIE-LCHlch(38.65, 55.85, 344.12°)
OKLaboklab(49.33% 0.1628 -0.0405)
OKLCHoklch(49.33% 0.168 346)
XYZxyz(18.4104, 10.4586, 17.8753)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2C75 #2C9F56
analogous
#902C9F #9F2C75 #9F2C3C
triadic
#9F2C75 #759F2C #2C759F
tetradic
#9F2C75 #9F902C #2C9F56 #2C3C9F
square
#9F2C75 #9F902C #2C9F56 #2C3C9F
split-complementary
#9F2C75 #3C9F2C #2C9F90
monochromatic
#3F112E #6F1F52 #9F2C75 #CA3E97 #D76EB1

Accessibility & contrast

On white

6.79
#9F2C75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9F2C75 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2C75
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2C75#FFFFFF#000000##FFFFFF
##9F2C751.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4E77
Deuteranopia (green-blind)
#5D6272
Tritanopia (blue-blind)
#AA294C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2c75;
/* rgb */ color: rgb(159, 44, 117);
/* oklch */ color: oklch(49.3% 0.168 346.0);
Tailwind
colors: {
  custom: {
    50: '#bf6f9c',
    500: '#9f2c75',
    950: '#000000',
  },
}
SCSS
$custom: #9f2c75;
$custom-light: #bf6f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2c75",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 117
  },
  "hsl": {
    "h": 321.913,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49333,
    "c": 0.16777,
    "h": 346
  },
  "luminance": 0.10457
}

Semantic roles & 50–950 ramp

primary
#9F2C75
secondary
#69BE88
accent
#E07F48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2C75

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

Preview Lab → · Contrast checker → · Palette generator →

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