#9D236D#9D236D

#9D236D is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.172 H 348.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9D236D
RGBrgb(157, 35, 109)
HSLhsl(324, 64%, 38%)
HSVhsv(324, 78%, 62%)
CMYKcmyk(0%, 77.7%, 30.6%, 38.4%)
CIE-LABlab(36.89, 55.22, -12.99)
CIE-LCHlch(36.89, 56.73, 346.77°)
OKLaboklab(47.87% 0.1686 -0.0341)
OKLCHoklch(47.87% 0.172 348.6)
XYZxyz(17.2669, 9.4763, 15.3848)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D236D #239D53
analogous
#90239D #9D236D #9D2330
triadic
#9D236D #6D9D23 #236D9D
tetradic
#9D236D #9D9023 #239D53 #23309D
square
#9D236D #9D9023 #239D53 #23309D
split-complementary
#9D236D #309D23 #239D90
monochromatic
#390D28 #6B184A #9D236D #CF2E90 #DB5FAA

Accessibility & contrast

On white

7.25
#9D236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D236D
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D236D#FFFFFF#000000##FFFFFF
##9D236D1.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d236d;
/* rgb */ color: rgb(157, 35, 109);
/* oklch */ color: oklch(47.9% 0.172 348.6);
Tailwind
colors: {
  custom: {
    50: '#be6b97',
    500: '#9d236d',
    950: '#000000',
  },
}
SCSS
$custom: #9d236d;
$custom-light: #be6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#9d236d",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 323.607,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47871,
    "c": 0.17202,
    "h": 348.6
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#9D236D
secondary
#5CC083
accent
#E78241
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9D236D

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

Preview Lab → · Contrast checker → · Palette generator →

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