#9E256C#9E256C

#9E256C is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.170 H 349.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9E256C
RGBrgb(158, 37, 108)
HSLhsl(325, 62%, 38%)
HSVhsv(325, 77%, 62%)
CMYKcmyk(0%, 76.6%, 31.6%, 38%)
CIE-LABlab(37.26, 54.73, -11.78)
CIE-LCHlch(37.26, 55.98, 347.86°)
OKLaboklab(48.16% 0.1673 -0.0308)
OKLCHoklch(48.16% 0.17 349.6)
XYZxyz(17.4698, 9.6770, 15.1323)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E256C #259E57
analogous
#93259E #9E256C #9E2530
triadic
#9E256C #6C9E25 #256C9E
tetradic
#9E256C #9E9325 #259E57 #25309E
square
#9E256C #9E9325 #259E57 #25309E
split-complementary
#9E256C #309E25 #259E93
monochromatic
#3B0E28 #6C194A #9E256C #CF318E #DA63A9

Accessibility & contrast

On white

7.16
#9E256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9E256C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E256C
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E256C#FFFFFF#000000##FFFFFF
##9E256C1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394A6E
Deuteranopia (green-blind)
#5C5F69
Tritanopia (blue-blind)
#AA1D45
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e256c;
/* rgb */ color: rgb(158, 37, 108);
/* oklch */ color: oklch(48.2% 0.170 349.6);
Tailwind
colors: {
  custom: {
    50: '#bf6c96',
    500: '#9e256c',
    950: '#000000',
  },
}
SCSS
$custom: #9e256c;
$custom-light: #bf6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#9e256c",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 324.793,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48162,
    "c": 0.17008,
    "h": 349.6
  },
  "luminance": 0.09675
}

Semantic roles & 50–950 ramp

primary
#9E256C
secondary
#5FC087
accent
#E58643
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9E256C

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

Preview Lab → · Contrast checker → · Palette generator →

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