#9E255F#9E255F

#9E255F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.164 H 356.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9E255F
RGBrgb(158, 37, 95)
HSLhsl(331, 62%, 38%)
HSVhsv(331, 77%, 62%)
CMYKcmyk(0%, 76.6%, 39.9%, 38%)
CIE-LABlab(36.78, 53.26, -4.23)
CIE-LCHlch(36.78, 53.42, 355.46°)
OKLaboklab(47.66% 0.1636 -0.0105)
OKLCHoklch(47.66% 0.164 356.3)
XYZxyz(16.8288, 9.4206, 11.7564)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E255F #259E64
analogous
#9E259B #9E255F #9E2825
triadic
#9E255F #5F9E25 #255F9E
tetradic
#9E255F #9B9E25 #259E64 #28259E
square
#9E255F #9B9E25 #259E64 #28259E
split-complementary
#9E255F #259E28 #259B9E
monochromatic
#3B0E23 #6C1941 #9E255F #CF317D #DA639C

Accessibility & contrast

On white

7.28
#9E255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E255F
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E255F#FFFFFF#000000##FFFFFF
##9E255F1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4860
Deuteranopia (green-blind)
#5F5F5C
Tritanopia (blue-blind)
#AB153F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e255f;
/* rgb */ color: rgb(158, 37, 95);
/* oklch */ color: oklch(47.7% 0.164 356.3);
Tailwind
colors: {
  custom: {
    50: '#bf6c8c',
    500: '#9e255f',
    950: '#000000',
  },
}
SCSS
$custom: #9e255f;
$custom-light: #bf6c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e255f",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 331.24,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4766,
    "c": 0.16394,
    "h": 356.3
  },
  "luminance": 0.09418
}

Semantic roles & 50–950 ramp

primary
#9E255F
secondary
#5FC091
accent
#E59743
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9E255F

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

Preview Lab → · Contrast checker → · Palette generator →

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