#9C407E#9C407E

#9C407E is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.5% C 0.143 H 342.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9C407E
RGBrgb(156, 64, 126)
HSLhsl(320, 42%, 43%)
HSVhsv(320, 59%, 61%)
CMYKcmyk(0%, 59%, 19.2%, 38.8%)
CIE-LABlab(41.60, 45.66, -16.39)
CIE-LCHlch(41.60, 48.52, 340.25°)
OKLaboklab(51.52% 0.136 -0.0438)
OKLCHoklch(51.52% 0.143 342.1)
XYZxyz(19.3100, 12.2427, 21.0807)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C407E #409C5E
analogous
#8C409C #9C407E #9C4050
triadic
#9C407E #7E9C40 #407E9C
tetradic
#9C407E #9C8C40 #409C5E #40509C
square
#9C407E #9C8C40 #409C5E #40509C
split-complementary
#9C407E #509C40 #409C8C
monochromatic
#451C38 #712E5B #9C407E #BC5D9D #CE88B7

Accessibility & contrast

On white

6.09
#9C407E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9C407E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C407E
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C407E#FFFFFF#000000##FFFFFF
##9C407E1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465980
Deuteranopia (green-blind)
#61687C
Tritanopia (blue-blind)
#A54159
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c407e;
/* rgb */ color: rgb(156, 64, 126);
/* oklch */ color: oklch(51.5% 0.143 342.1);
Tailwind
colors: {
  custom: {
    50: '#bc7aa3',
    500: '#9c407e',
    950: '#000000',
  },
}
SCSS
$custom: #9c407e;
$custom-light: #bc7aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c407e",
  "rgb": {
    "r": 156,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 319.565,
    "s": 41.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5152,
    "c": 0.14284,
    "h": 342.1
  },
  "luminance": 0.12241
}

Semantic roles & 50–950 ramp

primary
#9C407E
secondary
#7FB992
accent
#D27E56
background
#FBF7FA
surface
#F7EEF3
border
#D0C9CD
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9C407E

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

Preview Lab → · Contrast checker → · Palette generator →

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