#9E255D#9E255D

#9E255D is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.163 H 357.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9E255D
RGBrgb(158, 37, 93)
HSLhsl(332, 62%, 38%)
HSVhsv(332, 77%, 62%)
CMYKcmyk(0%, 76.6%, 41.1%, 38%)
CIE-LABlab(36.71, 53.05, -3.06)
CIE-LCHlch(36.71, 53.13, 356.70°)
OKLaboklab(47.59% 0.163 -0.0074)
OKLCHoklch(47.59% 0.163 357.4)
XYZxyz(16.7391, 9.3847, 11.2838)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E255D #259E66
analogous
#9E2599 #9E255D #9E2925
triadic
#9E255D #5D9E25 #255D9E
tetradic
#9E255D #999E25 #259E66 #29259E
square
#9E255D #999E25 #259E66 #29259E
split-complementary
#9E255D #259E29 #25999E
monochromatic
#3B0E23 #6C1940 #9E255D #CF317A #DA639A

Accessibility & contrast

On white

7.30
#9E255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9E255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E255D
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E255D#FFFFFF#000000##FFFFFF
##9E255D1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F485E
Deuteranopia (green-blind)
#605F5A
Tritanopia (blue-blind)
#AB133E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e255d;
/* rgb */ color: rgb(158, 37, 93);
/* oklch */ color: oklch(47.6% 0.163 357.4);
Tailwind
colors: {
  custom: {
    50: '#c06c8a',
    500: '#9e255d',
    950: '#000000',
  },
}
SCSS
$custom: #9e255d;
$custom-light: #c06c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e255d",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 332.231,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47589,
    "c": 0.16314,
    "h": 357.4
  },
  "luminance": 0.09383
}

Semantic roles & 50–950 ramp

primary
#9E255D
secondary
#5FC093
accent
#E59A43
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E255D

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

Preview Lab → · Contrast checker → · Palette generator →

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