#9F337C#9F337C

#9F337C is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.3% C 0.163 H 343.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9F337C
RGBrgb(159, 51, 124)
HSLhsl(319, 51%, 41%)
HSVhsv(319, 68%, 62%)
CMYKcmyk(0%, 67.9%, 22%, 37.6%)
CIE-LABlab(39.91, 51.99, -17.71)
CIE-LCHlch(39.91, 54.92, 341.19°)
OKLaboklab(50.35% 0.1561 -0.0473)
OKLCHoklch(50.35% 0.163 343.1)
XYZxyz(19.1206, 11.1957, 20.2189)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F337C #339F56
analogous
#8C339F #9F337C #9F3346
triadic
#9F337C #7C9F33 #337C9F
tetradic
#9F337C #9F8C33 #339F56 #33469F
square
#9F337C #9F8C33 #339F56 #33469F
split-complementary
#9F337C #469F33 #339F8C
monochromatic
#421534 #712458 #9F337C #C54A9D #D479B6

Accessibility & contrast

On white

6.48
#9F337C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9F337C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F337C
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F337C#FFFFFF#000000##FFFFFF
##9F337C1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537E
Deuteranopia (green-blind)
#5D6579
Tritanopia (blue-blind)
#A93353
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f337c;
/* rgb */ color: rgb(159, 51, 124);
/* oklch */ color: oklch(50.3% 0.163 343.1);
Tailwind
colors: {
  custom: {
    50: '#bf73a2',
    500: '#9f337c',
    950: '#000000',
  },
}
SCSS
$custom: #9f337c;
$custom-light: #bf73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f337c",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 319.444,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50345,
    "c": 0.16309,
    "h": 343.1
  },
  "luminance": 0.11194
}

Semantic roles & 50–950 ramp

primary
#9F337C
secondary
#71BC8A
accent
#DB7B4D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #9F337C

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

Preview Lab → · Contrast checker → · Palette generator →

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