#9F2A6F#9F2A6F

#9F2A6F is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.167 H 348.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9F2A6F
RGBrgb(159, 42, 111)
HSLhsl(325, 58%, 39%)
HSVhsv(325, 74%, 62%)
CMYKcmyk(0%, 73.6%, 30.2%, 37.6%)
CIE-LABlab(38.16, 53.67, -12.28)
CIE-LCHlch(38.16, 55.06, 347.11°)
OKLaboklab(48.89% 0.1636 -0.0322)
OKLCHoklch(48.89% 0.167 348.9)
XYZxyz(17.9962, 10.1766, 16.0524)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A6F #2A9F5A
analogous
#952A9F #9F2A6F #9F2A35
triadic
#9F2A6F #6F9F2A #2A6F9F
tetradic
#9F2A6F #9F952A #2A9F5A #2A359F
square
#9F2A6F #9F952A #2A9F5A #2A359F
split-complementary
#9F2A6F #359F2A #2A9F95
monochromatic
#3E102B #6F1D4D #9F2A6F #CB3B90 #D86BAB

Accessibility & contrast

On white

6.92
#9F2A6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F2A6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2A6F
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A6F#FFFFFF#000000##FFFFFF
##9F2A6F1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4D71
Deuteranopia (green-blind)
#5E616C
Tritanopia (blue-blind)
#AB2449
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2a6f;
/* rgb */ color: rgb(159, 42, 111);
/* oklch */ color: oklch(48.9% 0.167 348.9);
Tailwind
colors: {
  custom: {
    50: '#bf6e98',
    500: '#9f2a6f',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a6f;
$custom-light: #bf6e98;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a6f",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 324.615,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48893,
    "c": 0.16677,
    "h": 348.9
  },
  "luminance": 0.10175
}

Semantic roles & 50–950 ramp

primary
#9F2A6F
secondary
#66BF8A
accent
#E18646
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F2A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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