#9E255C#9E255C

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

Color values

HEX#9E255C
RGBrgb(158, 37, 92)
HSLhsl(333, 62%, 38%)
HSVhsv(333, 77%, 62%)
CMYKcmyk(0%, 76.6%, 41.8%, 38%)
CIE-LABlab(36.68, 52.94, -2.46)
CIE-LCHlch(36.68, 53.00, 357.34°)
OKLaboklab(47.55% 0.1627 -0.0058)
OKLCHoklch(47.55% 0.163 358)
XYZxyz(16.6951, 9.3671, 11.0520)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E255C #259E67
analogous
#9E2598 #9E255C #9E2A25
triadic
#9E255C #5C9E25 #255C9E
tetradic
#9E255C #989E25 #259E67 #2A259E
square
#9E255C #989E25 #259E67 #2A259E
split-complementary
#9E255C #259E2A #25989E
monochromatic
#3B0E22 #6C193F #9E255C #CF3179 #DA6399

Accessibility & contrast

On white

7.31
#9E255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E255C
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E255C#FFFFFF#000000##FFFFFF
##9E255C1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F485D
Deuteranopia (green-blind)
#605F59
Tritanopia (blue-blind)
#AB123D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e255c;
/* rgb */ color: rgb(158, 37, 92);
/* oklch */ color: oklch(47.6% 0.163 358.0);
Tailwind
colors: {
  custom: {
    50: '#c06b8a',
    500: '#9e255c',
    950: '#000000',
  },
}
SCSS
$custom: #9e255c;
$custom-light: #c06b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e255c",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 332.727,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47554,
    "c": 0.16275,
    "h": 358
  },
  "luminance": 0.09365
}

Semantic roles & 50–950 ramp

primary
#9E255C
secondary
#5FC094
accent
#E59B43
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E255C

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

Preview Lab → · Contrast checker → · Palette generator →

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