#9E255B#9E255B

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

Color values

HEX#9E255B
RGBrgb(158, 37, 91)
HSLhsl(333, 62%, 38%)
HSVhsv(333, 77%, 62%)
CMYKcmyk(0%, 76.6%, 42.4%, 38%)
CIE-LABlab(36.65, 52.84, -1.87)
CIE-LCHlch(36.65, 52.87, 357.97°)
OKLaboklab(47.52% 0.1623 -0.0043)
OKLCHoklch(47.52% 0.162 358.5)
XYZxyz(16.6517, 9.3497, 10.8233)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E255B #259E68
analogous
#9E2597 #9E255B #9E2B25
triadic
#9E255B #5B9E25 #255B9E
tetradic
#9E255B #979E25 #259E68 #2B259E
square
#9E255B #979E25 #259E68 #2B259E
split-complementary
#9E255B #259E2B #25979E
monochromatic
#3B0E22 #6C193E #9E255B #CF3178 #DA6398

Accessibility & contrast

On white

7.32
#9E255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E255B
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E255B#FFFFFF#000000##FFFFFF
##9E255B1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e255b;
/* rgb */ color: rgb(158, 37, 91);
/* oklch */ color: oklch(47.5% 0.162 358.5);
Tailwind
colors: {
  custom: {
    50: '#c06b89',
    500: '#9e255b',
    950: '#000000',
  },
}
SCSS
$custom: #9e255b;
$custom-light: #c06b89;
$custom-dark: #000000;
JSON
{
  "hex": "#9e255b",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 333.223,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47519,
    "c": 0.16238,
    "h": 358.5
  },
  "luminance": 0.09348
}

Semantic roles & 50–950 ramp

primary
#9E255B
secondary
#5FC095
accent
#E59D43
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9E255B

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

Preview Lab → · Contrast checker → · Palette generator →

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