#9D236E#9D236E

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

Color values

HEX#9D236E
RGBrgb(157, 35, 110)
HSLhsl(323, 64%, 38%)
HSVhsv(323, 78%, 62%)
CMYKcmyk(0%, 77.7%, 29.9%, 38.4%)
CIE-LABlab(36.93, 55.35, -13.56)
CIE-LCHlch(36.93, 56.98, 346.24°)
OKLaboklab(47.91% 0.1688 -0.0357)
OKLCHoklch(47.91% 0.173 348.1)
XYZxyz(17.3210, 9.4979, 15.6700)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D236E #239D52
analogous
#8F239D #9D236E #9D2331
triadic
#9D236E #6E9D23 #236E9D
tetradic
#9D236E #9D8F23 #239D52 #23319D
square
#9D236E #9D8F23 #239D52 #23319D
split-complementary
#9D236E #319D23 #239D8F
monochromatic
#390D28 #6B184B #9D236E #CF2E91 #DB5FAB

Accessibility & contrast

On white

7.24
#9D236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9D236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D236E
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D236E#FFFFFF#000000##FFFFFF
##9D236E1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364970
Deuteranopia (green-blind)
#5A5E6B
Tritanopia (blue-blind)
#A81D46
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d236e;
/* rgb */ color: rgb(157, 35, 110);
/* oklch */ color: oklch(47.9% 0.173 348.1);
Tailwind
colors: {
  custom: {
    50: '#be6b97',
    500: '#9d236e',
    950: '#000000',
  },
}
SCSS
$custom: #9d236e;
$custom-light: #be6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#9d236e",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 323.115,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47913,
    "c": 0.17256,
    "h": 348.1
  },
  "luminance": 0.09496
}

Semantic roles & 50–950 ramp

primary
#9D236E
secondary
#5CC082
accent
#E78141
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9D236E

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

Preview Lab → · Contrast checker → · Palette generator →

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