#9E256D#9E256D

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

Color values

HEX#9E256D
RGBrgb(158, 37, 109)
HSLhsl(324, 62%, 38%)
HSVhsv(324, 77%, 62%)
CMYKcmyk(0%, 76.6%, 31%, 38%)
CIE-LABlab(37.30, 54.85, -12.35)
CIE-LCHlch(37.30, 56.22, 347.31°)
OKLaboklab(48.2% 0.1675 -0.0323)
OKLCHoklch(48.2% 0.171 349.1)
XYZxyz(17.5234, 9.6984, 15.4142)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E256D #259E56
analogous
#92259E #9E256D #9E2530
triadic
#9E256D #6D9E25 #256D9E
tetradic
#9E256D #9E9225 #259E56 #25309E
square
#9E256D #9E9225 #259E56 #25309E
split-complementary
#9E256D #309E25 #259E92
monochromatic
#3B0E29 #6C194B #9E256D #CF318F #DA63AA

Accessibility & contrast

On white

7.14
#9E256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9E256D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E256D
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E256D#FFFFFF#000000##FFFFFF
##9E256D1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384A6F
Deuteranopia (green-blind)
#5C5F6A
Tritanopia (blue-blind)
#AA1E46
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e256d;
/* rgb */ color: rgb(158, 37, 109);
/* oklch */ color: oklch(48.2% 0.171 349.1);
Tailwind
colors: {
  custom: {
    50: '#bf6c97',
    500: '#9e256d',
    950: '#000000',
  },
}
SCSS
$custom: #9e256d;
$custom-light: #bf6c97;
$custom-dark: #000000;
JSON
{
  "hex": "#9e256d",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 324.298,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48204,
    "c": 0.17061,
    "h": 349.1
  },
  "luminance": 0.09696
}

Semantic roles & 50–950 ramp

primary
#9E256D
secondary
#5FC086
accent
#E58443
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9E256D

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

Preview Lab → · Contrast checker → · Palette generator →

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