#9E256F#9E256F

#9E256F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.172 H 348.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9E256F
RGBrgb(158, 37, 111)
HSLhsl(323, 62%, 38%)
HSVhsv(323, 77%, 62%)
CMYKcmyk(0%, 76.6%, 29.7%, 38%)
CIE-LABlab(37.38, 55.10, -13.49)
CIE-LCHlch(37.38, 56.72, 346.25°)
OKLaboklab(48.29% 0.168 -0.0355)
OKLCHoklch(48.29% 0.172 348.1)
XYZxyz(17.6323, 9.7419, 15.9877)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E256F #259E54
analogous
#90259E #9E256F #9E2532
triadic
#9E256F #6F9E25 #256F9E
tetradic
#9E256F #9E9025 #259E54 #25329E
square
#9E256F #9E9025 #259E54 #25329E
split-complementary
#9E256F #329E25 #259E90
monochromatic
#3B0E29 #6C194C #9E256F #CF3192 #DA63AC

Accessibility & contrast

On white

7.12
#9E256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9E256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E256F
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E256F#FFFFFF#000000##FFFFFF
##9E256F1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384B71
Deuteranopia (green-blind)
#5B606C
Tritanopia (blue-blind)
#AA1F47
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e256f;
/* rgb */ color: rgb(158, 37, 111);
/* oklch */ color: oklch(48.3% 0.172 348.1);
Tailwind
colors: {
  custom: {
    50: '#bf6c98',
    500: '#9e256f',
    950: '#000000',
  },
}
SCSS
$custom: #9e256f;
$custom-light: #bf6c98;
$custom-dark: #000000;
JSON
{
  "hex": "#9e256f",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 323.306,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48288,
    "c": 0.1717,
    "h": 348.1
  },
  "luminance": 0.0974
}

Semantic roles & 50–950 ramp

primary
#9E256F
secondary
#5FC085
accent
#E58243
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9E256F

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

Preview Lab → · Contrast checker → · Palette generator →

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