#9F2A73#9F2A73

#9F2A73 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.169 H 346.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9F2A73
RGBrgb(159, 42, 115)
HSLhsl(323, 58%, 39%)
HSVhsv(323, 74%, 62%)
CMYKcmyk(0%, 73.6%, 27.7%, 37.6%)
CIE-LABlab(38.32, 54.18, -14.55)
CIE-LCHlch(38.32, 56.10, 344.97°)
OKLaboklab(49.06% 0.1646 -0.0384)
OKLCHoklch(49.06% 0.169 346.9)
XYZxyz(18.2214, 10.2666, 17.2384)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A73 #2A9F56
analogous
#912A9F #9F2A73 #9F2A39
triadic
#9F2A73 #739F2A #2A739F
tetradic
#9F2A73 #9F912A #2A9F56 #2A399F
square
#9F2A73 #9F912A #2A9F56 #2A399F
split-complementary
#9F2A73 #399F2A #2A9F91
monochromatic
#3E102D #6F1D50 #9F2A73 #CB3B95 #D86BAF

Accessibility & contrast

On white

6.88
#9F2A73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9F2A73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2A73
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A73#FFFFFF#000000##FFFFFF
##9F2A731.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4D75
Deuteranopia (green-blind)
#5C6170
Tritanopia (blue-blind)
#AA264B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2a73;
/* rgb */ color: rgb(159, 42, 115);
/* oklch */ color: oklch(49.1% 0.169 346.9);
Tailwind
colors: {
  custom: {
    50: '#bf6e9b',
    500: '#9f2a73',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a73;
$custom-light: #bf6e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a73",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 322.564,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49061,
    "c": 0.16901,
    "h": 346.9
  },
  "luminance": 0.10265
}

Semantic roles & 50–950 ramp

primary
#9F2A73
secondary
#66BF87
accent
#E18146
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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