#9E237A#9E237A

#9E237A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.180 H 342.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9E237A
RGBrgb(158, 35, 122)
HSLhsl(318, 64%, 38%)
HSVhsv(318, 78%, 62%)
CMYKcmyk(0%, 77.8%, 22.8%, 38%)
CIE-LABlab(37.62, 57.14, -20.00)
CIE-LCHlch(37.62, 60.54, 340.71°)
OKLaboklab(48.62% 0.1721 -0.0536)
OKLCHoklch(48.62% 0.18 342.7)
XYZxyz(18.2151, 9.8782, 19.3560)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E237A #239E47
analogous
#84239E #9E237A #9E233C
triadic
#9E237A #7A9E23 #237A9E
tetradic
#9E237A #9E8423 #239E47 #233C9E
square
#9E237A #9E8423 #239E47 #233C9E
split-complementary
#9E237A #3C9E23 #239E84
monochromatic
#3A0D2D #6C1853 #9E237A #D02EA1 #DC60B7

Accessibility & contrast

On white

7.06
#9E237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E237A
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E237A#FFFFFF#000000##FFFFFF
##9E237A1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7C
Deuteranopia (green-blind)
#576077
Tritanopia (blue-blind)
#A8244C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e237a;
/* rgb */ color: rgb(158, 35, 122);
/* oklch */ color: oklch(48.6% 0.180 342.7);
Tailwind
colors: {
  custom: {
    50: '#bf6ca0',
    500: '#9e237a',
    950: '#000000',
  },
}
SCSS
$custom: #9e237a;
$custom-light: #bf6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e237a",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 317.561,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48621,
    "c": 0.18028,
    "h": 342.7
  },
  "luminance": 0.09876
}

Semantic roles & 50–950 ramp

primary
#9E237A
secondary
#5CC17A
accent
#E77241
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9E237A

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

Preview Lab → · Contrast checker → · Palette generator →

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