#9E237D#9E237D

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

Color values

HEX#9E237D
RGBrgb(158, 35, 125)
HSLhsl(316, 64%, 38%)
HSVhsv(316, 78%, 62%)
CMYKcmyk(0%, 77.8%, 20.9%, 38%)
CIE-LABlab(37.76, 57.54, -21.66)
CIE-LCHlch(37.76, 61.48, 339.37°)
OKLaboklab(48.76% 0.1726 -0.0583)
OKLCHoklch(48.76% 0.182 341.3)
XYZxyz(18.4039, 9.9537, 20.3501)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E237D #239E44
analogous
#82239E #9E237D #9E233F
triadic
#9E237D #7D9E23 #237D9E
tetradic
#9E237D #9E8223 #239E44 #233F9E
square
#9E237D #9E8223 #239E44 #233F9E
split-complementary
#9E237D #3F9E23 #239E82
monochromatic
#3A0D2E #6C1855 #9E237D #D02EA5 #DC60BA

Accessibility & contrast

On white

7.02
#9E237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E237D
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E237D#FFFFFF#000000##FFFFFF
##9E237D1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e237d;
/* rgb */ color: rgb(158, 35, 125);
/* oklch */ color: oklch(48.8% 0.182 341.3);
Tailwind
colors: {
  custom: {
    50: '#bf6ca3',
    500: '#9e237d',
    950: '#000000',
  },
}
SCSS
$custom: #9e237d;
$custom-light: #bf6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e237d",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 316.098,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48764,
    "c": 0.18219,
    "h": 341.3
  },
  "luminance": 0.09952
}

Semantic roles & 50–950 ramp

primary
#9E237D
secondary
#5CC177
accent
#E76E41
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9E237D

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

Preview Lab → · Contrast checker → · Palette generator →

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