#9E256B#9E256B

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

Color values

HEX#9E256B
RGBrgb(158, 37, 107)
HSLhsl(325, 62%, 38%)
HSVhsv(325, 77%, 62%)
CMYKcmyk(0%, 76.6%, 32.3%, 38%)
CIE-LABlab(37.22, 54.61, -11.20)
CIE-LCHlch(37.22, 55.75, 348.41°)
OKLaboklab(48.12% 0.167 -0.0292)
OKLCHoklch(48.12% 0.17 350.1)
XYZxyz(17.4169, 9.6558, 14.8536)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E256B #259E58
analogous
#94259E #9E256B #9E252F
triadic
#9E256B #6B9E25 #256B9E
tetradic
#9E256B #9E9425 #259E58 #252F9E
square
#9E256B #9E9425 #259E58 #252F9E
split-complementary
#9E256B #2F9E25 #259E94
monochromatic
#3B0E28 #6C1949 #9E256B #CF318C #DA63A8

Accessibility & contrast

On white

7.17
#9E256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E256B
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E256B#FFFFFF#000000##FFFFFF
##9E256B1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e256b;
/* rgb */ color: rgb(158, 37, 107);
/* oklch */ color: oklch(48.1% 0.170 350.1);
Tailwind
colors: {
  custom: {
    50: '#bf6c95',
    500: '#9e256b',
    950: '#000000',
  },
}
SCSS
$custom: #9e256b;
$custom-light: #bf6c95;
$custom-dark: #000000;
JSON
{
  "hex": "#9e256b",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 325.289,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48121,
    "c": 0.16956,
    "h": 350.1
  },
  "luminance": 0.09654
}

Semantic roles & 50–950 ramp

primary
#9E256B
secondary
#5FC088
accent
#E58743
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9E256B

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

Preview Lab → · Contrast checker → · Palette generator →

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