#9E237B#9E237B

#9E237B is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.7% C 0.181 H 342.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9E237B
RGBrgb(158, 35, 123)
HSLhsl(317, 64%, 38%)
HSVhsv(317, 78%, 62%)
CMYKcmyk(0%, 77.8%, 22.2%, 38%)
CIE-LABlab(37.67, 57.27, -20.56)
CIE-LCHlch(37.67, 60.85, 340.26°)
OKLaboklab(48.67% 0.1723 -0.0552)
OKLCHoklch(48.67% 0.181 342.2)
XYZxyz(18.2774, 9.9031, 19.6840)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E237B #239E46
analogous
#83239E #9E237B #9E233D
triadic
#9E237B #7B9E23 #237B9E
tetradic
#9E237B #9E8323 #239E46 #233D9E
square
#9E237B #9E8323 #239E46 #233D9E
split-complementary
#9E237B #3D9E23 #239E83
monochromatic
#3A0D2D #6C1854 #9E237B #D02EA2 #DC60B8

Accessibility & contrast

On white

7.05
#9E237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9E237B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E237B
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E237B#FFFFFF#000000##FFFFFF
##9E237B1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7D
Deuteranopia (green-blind)
#576078
Tritanopia (blue-blind)
#A8254D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e237b;
/* rgb */ color: rgb(158, 35, 123);
/* oklch */ color: oklch(48.7% 0.181 342.2);
Tailwind
colors: {
  custom: {
    50: '#bf6ca1',
    500: '#9e237b',
    950: '#000000',
  },
}
SCSS
$custom: #9e237b;
$custom-light: #bf6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e237b",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 317.073,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48668,
    "c": 0.18092,
    "h": 342.2
  },
  "luminance": 0.09901
}

Semantic roles & 50–950 ramp

primary
#9E237B
secondary
#5CC179
accent
#E77041
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #9E237B

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

Preview Lab → · Contrast checker → · Palette generator →

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