#9E236B#9E236B

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

Color values

HEX#9E236B
RGBrgb(158, 35, 107)
HSLhsl(325, 64%, 38%)
HSVhsv(325, 78%, 62%)
CMYKcmyk(0%, 77.8%, 32.3%, 38%)
CIE-LABlab(36.99, 55.25, -11.54)
CIE-LCHlch(36.99, 56.44, 348.20°)
OKLaboklab(47.96% 0.169 -0.0301)
OKLCHoklch(47.96% 0.172 349.9)
XYZxyz(17.3564, 9.5347, 14.8334)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E236B #239E56
analogous
#93239E #9E236B #9E232D
triadic
#9E236B #6B9E23 #236B9E
tetradic
#9E236B #9E9323 #239E56 #232D9E
square
#9E236B #9E9323 #239E56 #232D9E
split-complementary
#9E236B #2D9E23 #239E93
monochromatic
#3A0D27 #6C1849 #9E236B #D02E8D #DC60A8

Accessibility & contrast

On white

7.22
#9E236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9E236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E236B
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E236B#FFFFFF#000000##FFFFFF
##9E236B1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38496D
Deuteranopia (green-blind)
#5C5F68
Tritanopia (blue-blind)
#AA1A44
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e236b;
/* rgb */ color: rgb(158, 35, 107);
/* oklch */ color: oklch(48.0% 0.172 349.9);
Tailwind
colors: {
  custom: {
    50: '#bf6b95',
    500: '#9e236b',
    950: '#000000',
  },
}
SCSS
$custom: #9e236b;
$custom-light: #bf6b95;
$custom-dark: #000000;
JSON
{
  "hex": "#9e236b",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 324.878,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47959,
    "c": 0.17167,
    "h": 349.9
  },
  "luminance": 0.09533
}

Semantic roles & 50–950 ramp

primary
#9E236B
secondary
#5CC186
accent
#E78641
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E236B

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

Preview Lab → · Contrast checker → · Palette generator →

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