#9B407D#9B407D

#9B407D is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.3% C 0.141 H 342.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9B407D
RGBrgb(155, 64, 125)
HSLhsl(320, 42%, 43%)
HSVhsv(320, 59%, 61%)
CMYKcmyk(0%, 58.7%, 19.4%, 39.2%)
CIE-LABlab(41.40, 45.20, -16.09)
CIE-LCHlch(41.40, 47.98, 340.40°)
OKLaboklab(51.33% 0.1346 -0.043)
OKLCHoklch(51.33% 0.141 342.3)
XYZxyz(19.0531, 12.1177, 20.7335)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B407D #409B5E
analogous
#8B409B #9B407D #9B404F
triadic
#9B407D #7D9B40 #407D9B
tetradic
#9B407D #9B8B40 #409B5E #404F9B
square
#9B407D #9B8B40 #409B5E #404F9B
split-complementary
#9B407D #4F9B40 #409B8B
monochromatic
#441C37 #702E5A #9B407D #BC5C9C #CE88B7

Accessibility & contrast

On white

6.13
#9B407D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9B407D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B407D
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B407D#FFFFFF#000000##FFFFFF
##9B407D1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b407d;
/* rgb */ color: rgb(155, 64, 125);
/* oklch */ color: oklch(51.3% 0.141 342.3);
Tailwind
colors: {
  custom: {
    50: '#bb7aa2',
    500: '#9b407d',
    950: '#000000',
  },
}
SCSS
$custom: #9b407d;
$custom-light: #bb7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b407d",
  "rgb": {
    "r": 155,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 319.78,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5133,
    "c": 0.14131,
    "h": 342.3
  },
  "luminance": 0.12116
}

Semantic roles & 50–950 ramp

primary
#9B407D
secondary
#7EB892
accent
#D17F56
background
#FBF7FA
surface
#F7EEF3
border
#D0C9CD
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9B407D

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

Preview Lab → · Contrast checker → · Palette generator →

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