#9E237E#9E237E

#9E237E is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.8% C 0.183 H 340.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9E237E
RGBrgb(158, 35, 126)
HSLhsl(316, 64%, 38%)
HSVhsv(316, 78%, 62%)
CMYKcmyk(0%, 77.8%, 20.3%, 38%)
CIE-LABlab(37.81, 57.68, -22.21)
CIE-LCHlch(37.81, 61.81, 338.94°)
OKLaboklab(48.81% 0.1727 -0.0599)
OKLCHoklch(48.81% 0.183 340.9)
XYZxyz(18.4681, 9.9794, 20.6882)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E237E #239E43
analogous
#81239E #9E237E #9E2340
triadic
#9E237E #7E9E23 #237E9E
tetradic
#9E237E #9E8123 #239E43 #23409E
square
#9E237E #9E8123 #239E43 #23409E
split-complementary
#9E237E #409E23 #239E81
monochromatic
#3A0D2E #6C1856 #9E237E #D02EA6 #DC60BB

Accessibility & contrast

On white

7.01
#9E237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9E237E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E237E
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E237E#FFFFFF#000000##FFFFFF
##9E237E1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C80
Deuteranopia (green-blind)
#56607B
Tritanopia (blue-blind)
#A8264E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e237e;
/* rgb */ color: rgb(158, 35, 126);
/* oklch */ color: oklch(48.8% 0.183 340.9);
Tailwind
colors: {
  custom: {
    50: '#bf6ca3',
    500: '#9e237e',
    950: '#000000',
  },
}
SCSS
$custom: #9e237e;
$custom-light: #bf6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e237e",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 315.61,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48812,
    "c": 0.18282,
    "h": 340.9
  },
  "luminance": 0.09978
}

Semantic roles & 50–950 ramp

primary
#9E237E
secondary
#5CC176
accent
#E76C41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9E237E

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

Preview Lab → · Contrast checker → · Palette generator →

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