#9F3374#9F3374

#9F3374 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.0% C 0.158 H 347.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9F3374
RGBrgb(159, 51, 116)
HSLhsl(324, 51%, 41%)
HSVhsv(324, 68%, 62%)
CMYKcmyk(0%, 67.9%, 27%, 37.6%)
CIE-LABlab(39.58, 50.89, -13.24)
CIE-LCHlch(39.58, 52.58, 345.42°)
OKLaboklab(50% 0.1542 -0.0349)
OKLCHoklch(50% 0.158 347.2)
XYZxyz(18.6351, 11.0015, 17.6617)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3374 #339F5E
analogous
#94339F #9F3374 #9F333E
triadic
#9F3374 #749F33 #33749F
tetradic
#9F3374 #9F9433 #339F5E #333E9F
square
#9F3374 #9F9433 #339F5E #333E9F
split-complementary
#9F3374 #3E9F33 #339F94
monochromatic
#421530 #712452 #9F3374 #C54A94 #D479B0

Accessibility & contrast

On white

6.56
#9F3374 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9F3374 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3374
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3374#FFFFFF#000000##FFFFFF
##9F33741.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405176
Deuteranopia (green-blind)
#606471
Tritanopia (blue-blind)
#AA304F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f3374;
/* rgb */ color: rgb(159, 51, 116);
/* oklch */ color: oklch(50.0% 0.158 347.2);
Tailwind
colors: {
  custom: {
    50: '#bf739c',
    500: '#9f3374',
    950: '#000000',
  },
}
SCSS
$custom: #9f3374;
$custom-light: #bf739c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3374",
  "rgb": {
    "r": 159,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 323.889,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5,
    "c": 0.15812,
    "h": 347.2
  },
  "luminance": 0.11
}

Semantic roles & 50–950 ramp

primary
#9F3374
secondary
#71BC8F
accent
#DB854D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F3374

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

Preview Lab → · Contrast checker → · Palette generator →

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