#9C418B#9C418B

#9C418B is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.2% C 0.151 H 335.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9C418B
RGBrgb(156, 65, 139)
HSLhsl(311, 41%, 43%)
HSVhsv(311, 58%, 61%)
CMYKcmyk(0%, 58.3%, 10.9%, 38.8%)
CIE-LABlab(42.33, 47.26, -23.21)
CIE-LCHlch(42.33, 52.65, 333.85°)
OKLaboklab(52.24% 0.1373 -0.063)
OKLCHoklch(52.24% 0.151 335.4)
XYZxyz(20.2609, 12.7141, 25.8080)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C418B #419C52
analogous
#7F419C #9C418B #9C415D
triadic
#9C418B #8B9C41 #418B9C
tetradic
#9C418B #9C7F41 #419C52 #415D9C
square
#9C418B #9C7F41 #419C52 #415D9C
split-complementary
#9C418B #5D9C41 #419C7F
monochromatic
#461D3E #712F65 #9C418B #BC5EAA #CE89C1

Accessibility & contrast

On white

5.93
#9C418B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9C418B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C418B
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C418B#FFFFFF#000000##FFFFFF
##9C418B1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8D
Deuteranopia (green-blind)
#5D6989
Tritanopia (blue-blind)
#A34660
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c418b;
/* rgb */ color: rgb(156, 65, 139);
/* oklch */ color: oklch(52.2% 0.151 335.4);
Tailwind
colors: {
  custom: {
    50: '#bc7bad',
    500: '#9c418b',
    950: '#000000',
  },
}
SCSS
$custom: #9c418b;
$custom-light: #bc7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#9c418b",
  "rgb": {
    "r": 156,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 311.209,
    "s": 41.176,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5224,
    "c": 0.15108,
    "h": 335.4
  },
  "luminance": 0.12713
}

Semantic roles & 50–950 ramp

primary
#9C418B
secondary
#80B98B
accent
#D16E57
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #9C418B

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

Preview Lab → · Contrast checker → · Palette generator →

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