#9B407E#9B407E

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

Color values

HEX#9B407E
RGBrgb(155, 64, 126)
HSLhsl(319, 42%, 43%)
HSVhsv(319, 59%, 61%)
CMYKcmyk(0%, 58.7%, 18.7%, 39.2%)
CIE-LABlab(41.44, 45.35, -16.65)
CIE-LCHlch(41.44, 48.31, 339.85°)
OKLaboklab(51.37% 0.1349 -0.0445)
OKLCHoklch(51.37% 0.142 341.7)
XYZxyz(19.1173, 12.1433, 21.0717)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B407E #409B5D
analogous
#8A409B #9B407E #9B4050
triadic
#9B407E #7E9B40 #407E9B
tetradic
#9B407E #9B8A40 #409B5D #40509B
square
#9B407E #9B8A40 #409B5D #40509B
split-complementary
#9B407E #509B40 #409B8A
monochromatic
#441C38 #702E5B #9B407E #BC5C9D #CE88B7

Accessibility & contrast

On white

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

On black

3.43
#9B407E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9B407E#FFFFFF#000000##FFFFFF
##9B407E1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465880
Deuteranopia (green-blind)
#60677C
Tritanopia (blue-blind)
#A44159
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b407e;
/* rgb */ color: rgb(155, 64, 126);
/* oklch */ color: oklch(51.4% 0.142 341.7);
Tailwind
colors: {
  custom: {
    50: '#bb7aa3',
    500: '#9b407e',
    950: '#000000',
  },
}
SCSS
$custom: #9b407e;
$custom-light: #bb7aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b407e",
  "rgb": {
    "r": 155,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 319.121,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51373,
    "c": 0.14202,
    "h": 341.7
  },
  "luminance": 0.12142
}

Semantic roles & 50–950 ramp

primary
#9B407E
secondary
#7EB891
accent
#D17E56
background
#FBF7FA
surface
#F7EEF3
border
#D0C9CD
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9B407E

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

Preview Lab → · Contrast checker → · Palette generator →

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