#9F336C#9F336C

#9F336C is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.7% C 0.154 H 351.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9F336C
RGBrgb(159, 51, 108)
HSLhsl(328, 51%, 41%)
HSVhsv(328, 68%, 62%)
CMYKcmyk(0%, 67.9%, 32.1%, 37.6%)
CIE-LABlab(39.28, 49.86, -8.70)
CIE-LCHlch(39.28, 50.61, 350.10°)
OKLaboklab(49.68% 0.1521 -0.0225)
OKLCHoklch(49.68% 0.154 351.6)
XYZxyz(18.1896, 10.8233, 15.3156)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F336C #339F66
analogous
#9C339F #9F336C #9F3336
triadic
#9F336C #6C9F33 #336C9F
tetradic
#9F336C #9F9C33 #339F66 #33369F
square
#9F336C #9F9C33 #339F66 #33369F
split-complementary
#9F336C #369F33 #339F9C
monochromatic
#42152D #71244D #9F336C #C54A8B #D479A9

Accessibility & contrast

On white

6.64
#9F336C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9F336C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F336C
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F336C#FFFFFF#000000##FFFFFF
##9F336C1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43506E
Deuteranopia (green-blind)
#626469
Tritanopia (blue-blind)
#AB2D4B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f336c;
/* rgb */ color: rgb(159, 51, 108);
/* oklch */ color: oklch(49.7% 0.154 351.6);
Tailwind
colors: {
  custom: {
    50: '#bf7296',
    500: '#9f336c',
    950: '#000000',
  },
}
SCSS
$custom: #9f336c;
$custom-light: #bf7296;
$custom-dark: #000000;
JSON
{
  "hex": "#9f336c",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 328.333,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4968,
    "c": 0.15372,
    "h": 351.6
  },
  "luminance": 0.10821
}

Semantic roles & 50–950 ramp

primary
#9F336C
secondary
#71BC95
accent
#DB904D
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F336C

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

Preview Lab → · Contrast checker → · Palette generator →

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