#9D236C#9D236C

#9D236C is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.171 H 349.1°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#9D236C
RGBrgb(157, 35, 108)
HSLhsl(324, 64%, 38%)
HSVhsv(324, 78%, 62%)
CMYKcmyk(0%, 77.7%, 31.2%, 38.4%)
CIE-LABlab(36.85, 55.10, -12.42)
CIE-LCHlch(36.85, 56.48, 347.30°)
OKLaboklab(47.83% 0.1684 -0.0325)
OKLCHoklch(47.83% 0.171 349.1)
XYZxyz(17.2134, 9.4549, 15.1029)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D236C #239D54
analogous
#91239D #9D236C #9D232F
triadic
#9D236C #6C9D23 #236C9D
tetradic
#9D236C #9D9123 #239D54 #232F9D
square
#9D236C #9D9123 #239D54 #232F9D
split-complementary
#9D236C #2F9D23 #239D91
monochromatic
#390D27 #6B184A #9D236C #CF2E8E #DB5FA9

Accessibility & contrast

On white

7.26
#9D236C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9D236C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D236C
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D236C#FFFFFF#000000##FFFFFF
##9D236C1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37496E
Deuteranopia (green-blind)
#5B5E69
Tritanopia (blue-blind)
#A91C45
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d236c;
/* rgb */ color: rgb(157, 35, 108);
/* oklch */ color: oklch(47.8% 0.171 349.1);
Tailwind
colors: {
  custom: {
    50: '#be6b96',
    500: '#9d236c',
    950: '#000000',
  },
}
SCSS
$custom: #9d236c;
$custom-light: #be6b96;
$custom-dark: #000000;
JSON
{
  "hex": "#9d236c",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 108
  },
  "hsl": {
    "h": 324.098,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47829,
    "c": 0.17148,
    "h": 349.1
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#9D236C
secondary
#5CC084
accent
#E78441
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9D236C

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

Preview Lab → · Contrast checker → · Palette generator →

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