#9F3E7D#9F3E7D

#9F3E7D is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.7% C 0.148 H 343.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9F3E7D
RGBrgb(159, 62, 125)
HSLhsl(321, 44%, 43%)
HSVhsv(321, 61%, 62%)
CMYKcmyk(0%, 61%, 21.4%, 37.6%)
CIE-LABlab(41.69, 47.37, -15.60)
CIE-LCHlch(41.69, 49.87, 341.77°)
OKLaboklab(51.67% 0.1418 -0.0415)
OKLCHoklch(51.67% 0.148 343.7)
XYZxyz(19.7229, 12.2986, 20.7332)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3E7D #3E9F60
analogous
#903E9F #9F3E7D #9F3E4C
triadic
#9F3E7D #7D9F3E #3E7D9F
tetradic
#9F3E7D #9F903E #3E9F60 #3E4C9F
square
#9F3E7D #9F903E #3E9F60 #3E4C9F
split-complementary
#9F3E7D #4C9F3E #3E9F90
monochromatic
#471C38 #732D5A #9F3E7D #BF5B9C #D087B7

Accessibility & contrast

On white

6.07
#9F3E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9F3E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3E7D
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3E7D#FFFFFF#000000##FFFFFF
##9F3E7D1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46587F
Deuteranopia (green-blind)
#62687B
Tritanopia (blue-blind)
#A93E58
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f3e7d;
/* rgb */ color: rgb(159, 62, 125);
/* oklch */ color: oklch(51.7% 0.148 343.7);
Tailwind
colors: {
  custom: {
    50: '#be79a2',
    500: '#9f3e7d',
    950: '#000000',
  },
}
SCSS
$custom: #9f3e7d;
$custom-light: #be79a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3e7d",
  "rgb": {
    "r": 159,
    "g": 62,
    "b": 125
  },
  "hsl": {
    "h": 321.031,
    "s": 43.891,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51666,
    "c": 0.14776,
    "h": 343.7
  },
  "luminance": 0.12297
}

Semantic roles & 50–950 ramp

primary
#9F3E7D
secondary
#7EBB93
accent
#D48154
background
#FCF7FA
surface
#F8EEF3
border
#D1C9CD
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9F3E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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