#9D336D#9D336D

#9D336D is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.4% C 0.153 H 350.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9D336D
RGBrgb(157, 51, 109)
HSLhsl(327, 51%, 41%)
HSVhsv(327, 68%, 62%)
CMYKcmyk(0%, 67.5%, 30.6%, 38.4%)
CIE-LABlab(38.97, 49.39, -9.83)
CIE-LCHlch(38.97, 50.36, 348.74°)
OKLaboklab(49.4% 0.1504 -0.0256)
OKLCHoklch(49.4% 0.153 350.3)
XYZxyz(17.8496, 10.6418, 15.5791)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D336D #339D63
analogous
#98339D #9D336D #9D3338
triadic
#9D336D #6D9D33 #336D9D
tetradic
#9D336D #9D9833 #339D63 #33389D
square
#9D336D #9D9833 #339D63 #33389D
split-complementary
#9D336D #389D33 #339D98
monochromatic
#41152D #6F244D #9D336D #C4498C #D377AA

Accessibility & contrast

On white

6.71
#9D336D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9D336D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D336D
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D336D#FFFFFF#000000##FFFFFF
##9D336D1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42506F
Deuteranopia (green-blind)
#60636B
Tritanopia (blue-blind)
#A82E4B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d336d;
/* rgb */ color: rgb(157, 51, 109);
/* oklch */ color: oklch(49.4% 0.153 350.3);
Tailwind
colors: {
  custom: {
    50: '#be7296',
    500: '#9d336d',
    950: '#000000',
  },
}
SCSS
$custom: #9d336d;
$custom-light: #be7296;
$custom-dark: #000000;
JSON
{
  "hex": "#9d336d",
  "rgb": {
    "r": 157,
    "g": 51,
    "b": 109
  },
  "hsl": {
    "h": 327.17,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49397,
    "c": 0.15253,
    "h": 350.3
  },
  "luminance": 0.1064
}

Semantic roles & 50–950 ramp

primary
#9D336D
secondary
#70BB92
accent
#DA8D4D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9D336D

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

Preview Lab → · Contrast checker → · Palette generator →

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