#9E237C#9E237C

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

Color values

HEX#9E237C
RGBrgb(158, 35, 124)
HSLhsl(317, 64%, 38%)
HSVhsv(317, 78%, 62%)
CMYKcmyk(0%, 77.8%, 21.5%, 38%)
CIE-LABlab(37.71, 57.41, -21.11)
CIE-LCHlch(37.71, 61.16, 339.81°)
OKLaboklab(48.72% 0.1725 -0.0568)
OKLCHoklch(48.72% 0.182 341.8)
XYZxyz(18.3403, 9.9283, 20.0154)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E237C #239E45
analogous
#82239E #9E237C #9E233F
triadic
#9E237C #7C9E23 #237C9E
tetradic
#9E237C #9E8223 #239E45 #233F9E
square
#9E237C #9E8223 #239E45 #233F9E
split-complementary
#9E237C #3F9E23 #239E82
monochromatic
#3A0D2D #6C1855 #9E237C #D02EA3 #DC60B9

Accessibility & contrast

On white

7.03
#9E237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9E237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E237C
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E237C#FFFFFF#000000##FFFFFF
##9E237C1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7E
Deuteranopia (green-blind)
#566079
Tritanopia (blue-blind)
#A8254D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e237c;
/* rgb */ color: rgb(158, 35, 124);
/* oklch */ color: oklch(48.7% 0.182 341.8);
Tailwind
colors: {
  custom: {
    50: '#bf6ca2',
    500: '#9e237c',
    950: '#000000',
  },
}
SCSS
$custom: #9e237c;
$custom-light: #bf6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e237c",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 316.585,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48716,
    "c": 0.18155,
    "h": 341.8
  },
  "luminance": 0.09926
}

Semantic roles & 50–950 ramp

primary
#9E237C
secondary
#5CC178
accent
#E76F41
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9E237C

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

Preview Lab → · Contrast checker → · Palette generator →

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