#9E236D#9E236D

#9E236D is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.173 H 348.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9E236D
RGBrgb(158, 35, 109)
HSLhsl(324, 64%, 38%)
HSVhsv(324, 78%, 62%)
CMYKcmyk(0%, 77.8%, 31%, 38%)
CIE-LABlab(37.07, 55.48, -12.69)
CIE-LCHlch(37.07, 56.92, 347.12°)
OKLaboklab(48.04% 0.1695 -0.0333)
OKLCHoklch(48.04% 0.173 348.9)
XYZxyz(17.4628, 9.5773, 15.3940)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E236D #239E54
analogous
#91239E #9E236D #9E2330
triadic
#9E236D #6D9E23 #236D9E
tetradic
#9E236D #9E9123 #239E54 #23309E
square
#9E236D #9E9123 #239E54 #23309E
split-complementary
#9E236D #309E23 #239E91
monochromatic
#3A0D28 #6C184A #9E236D #D02E90 #DC60AA

Accessibility & contrast

On white

7.20
#9E236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E236D
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E236D#FFFFFF#000000##FFFFFF
##9E236D1.007.202.917.20
#FFFFFF7.201.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e236d;
/* rgb */ color: rgb(158, 35, 109);
/* oklch */ color: oklch(48.0% 0.173 348.9);
Tailwind
colors: {
  custom: {
    50: '#bf6b97',
    500: '#9e236d',
    950: '#000000',
  },
}
SCSS
$custom: #9e236d;
$custom-light: #bf6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#9e236d",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 323.902,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48042,
    "c": 0.17272,
    "h": 348.9
  },
  "luminance": 0.09575
}

Semantic roles & 50–950 ramp

primary
#9E236D
secondary
#5CC184
accent
#E78341
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E236D

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

Preview Lab → · Contrast checker → · Palette generator →

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