#9E237F#9E237F

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

Color values

HEX#9E237F
RGBrgb(158, 35, 127)
HSLhsl(315, 64%, 38%)
HSVhsv(315, 78%, 62%)
CMYKcmyk(0%, 77.8%, 19.6%, 38%)
CIE-LABlab(37.85, 57.82, -22.76)
CIE-LCHlch(37.85, 62.14, 338.51°)
OKLaboklab(48.86% 0.1729 -0.0614)
OKLCHoklch(48.86% 0.183 340.4)
XYZxyz(18.5329, 10.0054, 21.0298)
Luminance0.1000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E237F #239E42
analogous
#7F239E #9E237F #9E2341
triadic
#9E237F #7F9E23 #237F9E
tetradic
#9E237F #9E7F23 #239E42 #23419E
square
#9E237F #9E7F23 #239E42 #23419E
split-complementary
#9E237F #419E23 #239E7F
monochromatic
#3A0D2E #6C1857 #9E237F #D02EA7 #DC60BC

Accessibility & contrast

On white

7.00
#9E237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E237F
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E237F#FFFFFF#000000##FFFFFF
##9E237F1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4D81
Deuteranopia (green-blind)
#55607C
Tritanopia (blue-blind)
#A8274F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e237f;
/* rgb */ color: rgb(158, 35, 127);
/* oklch */ color: oklch(48.9% 0.183 340.4);
Tailwind
colors: {
  custom: {
    50: '#bf6ca4',
    500: '#9e237f',
    950: '#000000',
  },
}
SCSS
$custom: #9e237f;
$custom-light: #bf6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e237f",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 315.122,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48861,
    "c": 0.18347,
    "h": 340.4
  },
  "luminance": 0.10003
}

Semantic roles & 50–950 ramp

primary
#9E237F
secondary
#5CC175
accent
#E76B41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9E237F

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

Preview Lab → · Contrast checker → · Palette generator →

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