#9D336F#9D336F

#9D336F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.5% C 0.154 H 349.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9D336F
RGBrgb(157, 51, 111)
HSLhsl(326, 51%, 41%)
HSVhsv(326, 68%, 62%)
CMYKcmyk(0%, 67.5%, 29.3%, 38.4%)
CIE-LABlab(39.05, 49.65, -10.97)
CIE-LCHlch(39.05, 50.84, 347.54°)
OKLaboklab(49.48% 0.1509 -0.0287)
OKLCHoklch(49.48% 0.154 349.2)
XYZxyz(17.9585, 10.6854, 16.1526)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D336F #339D61
analogous
#96339D #9D336F #9D333A
triadic
#9D336F #6F9D33 #336F9D
tetradic
#9D336F #9D9633 #339D61 #333A9D
square
#9D336F #9D9633 #339D61 #333A9D
split-complementary
#9D336F #3A9D33 #339D96
monochromatic
#41152E #6F244E #9D336F #C4498F #D377AB

Accessibility & contrast

On white

6.70
#9D336F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9D336F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D336F
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D336F#FFFFFF#000000##FFFFFF
##9D336F1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415071
Deuteranopia (green-blind)
#60636D
Tritanopia (blue-blind)
#A82E4C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d336f;
/* rgb */ color: rgb(157, 51, 111);
/* oklch */ color: oklch(49.5% 0.154 349.2);
Tailwind
colors: {
  custom: {
    50: '#be7298',
    500: '#9d336f',
    950: '#000000',
  },
}
SCSS
$custom: #9d336f;
$custom-light: #be7298;
$custom-dark: #000000;
JSON
{
  "hex": "#9d336f",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 326.038,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49477,
    "c": 0.15362,
    "h": 349.2
  },
  "luminance": 0.10683
}

Semantic roles & 50–950 ramp

primary
#9D336F
secondary
#70BB91
accent
#DA8B4D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9D336F

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

Preview Lab → · Contrast checker → · Palette generator →

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