#9E236F#9E236F

#9E236F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.174 H 347.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9E236F
RGBrgb(158, 35, 111)
HSLhsl(323, 64%, 38%)
HSVhsv(323, 78%, 62%)
CMYKcmyk(0%, 77.8%, 29.7%, 38%)
CIE-LABlab(37.15, 55.73, -13.82)
CIE-LCHlch(37.15, 57.42, 346.07°)
OKLaboklab(48.13% 0.17 -0.0364)
OKLCHoklch(48.13% 0.174 347.9)
XYZxyz(17.5717, 9.6209, 15.9675)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E236F #239E52
analogous
#90239E #9E236F #9E2331
triadic
#9E236F #6F9E23 #236F9E
tetradic
#9E236F #9E9023 #239E52 #23319E
square
#9E236F #9E9023 #239E52 #23319E
split-complementary
#9E236F #319E23 #239E90
monochromatic
#3A0D29 #6C184C #9E236F #D02E92 #DC60AC

Accessibility & contrast

On white

7.18
#9E236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9E236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E236F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E236F#FFFFFF#000000##FFFFFF
##9E236F1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A71
Deuteranopia (green-blind)
#5B5F6C
Tritanopia (blue-blind)
#AA1D46
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e236f;
/* rgb */ color: rgb(158, 35, 111);
/* oklch */ color: oklch(48.1% 0.174 347.9);
Tailwind
colors: {
  custom: {
    50: '#bf6b98',
    500: '#9e236f',
    950: '#000000',
  },
}
SCSS
$custom: #9e236f;
$custom-light: #bf6b98;
$custom-dark: #000000;
JSON
{
  "hex": "#9e236f",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 322.927,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48126,
    "c": 0.17382,
    "h": 347.9
  },
  "luminance": 0.09619
}

Semantic roles & 50–950 ramp

primary
#9E236F
secondary
#5CC183
accent
#E78041
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E236F

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

Preview Lab → · Contrast checker → · Palette generator →

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