#9E236C#9E236C

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

Color values

HEX#9E236C
RGBrgb(158, 35, 108)
HSLhsl(324, 64%, 38%)
HSVhsv(324, 78%, 62%)
CMYKcmyk(0%, 77.8%, 31.6%, 38%)
CIE-LABlab(37.03, 55.36, -12.11)
CIE-LCHlch(37.03, 56.67, 347.66°)
OKLaboklab(48% 0.1693 -0.0317)
OKLCHoklch(48% 0.172 349.4)
XYZxyz(17.4093, 9.5559, 15.1121)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E236C #239E55
analogous
#92239E #9E236C #9E232E
triadic
#9E236C #6C9E23 #236C9E
tetradic
#9E236C #9E9223 #239E55 #232E9E
square
#9E236C #9E9223 #239E55 #232E9E
split-complementary
#9E236C #2E9E23 #239E92
monochromatic
#3A0D28 #6C184A #9E236C #D02E8E #DC60A9

Accessibility & contrast

On white

7.21
#9E236C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E236C
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E236C#FFFFFF#000000##FFFFFF
##9E236C1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38496E
Deuteranopia (green-blind)
#5C5F69
Tritanopia (blue-blind)
#AA1B45
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e236c;
/* rgb */ color: rgb(158, 35, 108);
/* oklch */ color: oklch(48.0% 0.172 349.4);
Tailwind
colors: {
  custom: {
    50: '#bf6b96',
    500: '#9e236c',
    950: '#000000',
  },
}
SCSS
$custom: #9e236c;
$custom-light: #bf6b96;
$custom-dark: #000000;
JSON
{
  "hex": "#9e236c",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 108
  },
  "hsl": {
    "h": 324.39,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48,
    "c": 0.17219,
    "h": 349.4
  },
  "luminance": 0.09554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E236C

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

Preview Lab → · Contrast checker → · Palette generator →

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