#9E255A#9E255A

#9E255A is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.162 H 359.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9E255A
RGBrgb(158, 37, 90)
HSLhsl(334, 62%, 38%)
HSVhsv(334, 77%, 62%)
CMYKcmyk(0%, 76.6%, 43%, 38%)
CIE-LABlab(36.62, 52.74, -1.28)
CIE-LCHlch(36.62, 52.75, 358.61°)
OKLaboklab(47.49% 0.162 -0.0027)
OKLCHoklch(47.49% 0.162 359)
XYZxyz(16.6088, 9.3326, 10.5976)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E255A #259E69
analogous
#9E2596 #9E255A #9E2C25
triadic
#9E255A #5A9E25 #255A9E
tetradic
#9E255A #969E25 #259E69 #2C259E
square
#9E255A #969E25 #259E69 #2C259E
split-complementary
#9E255A #259E2C #25969E
monochromatic
#3B0E22 #6C193E #9E255A #CF3176 #DA6397

Accessibility & contrast

On white

7.33
#9E255A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9E255A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E255A
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E255A#FFFFFF#000000##FFFFFF
##9E255A1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40475B
Deuteranopia (green-blind)
#605E57
Tritanopia (blue-blind)
#AB113C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e255a;
/* rgb */ color: rgb(158, 37, 90);
/* oklch */ color: oklch(47.5% 0.162 359.0);
Tailwind
colors: {
  custom: {
    50: '#c06b88',
    500: '#9e255a',
    950: '#000000',
  },
}
SCSS
$custom: #9e255a;
$custom-light: #c06b88;
$custom-dark: #000000;
JSON
{
  "hex": "#9e255a",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 333.719,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47485,
    "c": 0.162,
    "h": 359
  },
  "luminance": 0.0933
}

Semantic roles & 50–950 ramp

primary
#9E255A
secondary
#5FC095
accent
#E59E43
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E255A

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

Preview Lab → · Contrast checker → · Palette generator →

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