#9E2255#9E2255

#9E2255 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.163 H 1.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#9E2255
RGBrgb(158, 34, 85)
HSLhsl(335, 65%, 38%)
HSVhsv(335, 78%, 62%)
CMYKcmyk(0%, 78.5%, 46.2%, 38%)
CIE-LABlab(36.12, 53.21, 1.21)
CIE-LCHlch(36.12, 53.22, 1.30°)
OKLaboklab(47.07% 0.1633 0.0037)
OKLCHoklch(47.07% 0.163 1.3)
XYZxyz(16.3136, 9.0712, 9.4844)
Luminance0.0907 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2255 #229E6B
analogous
#9E2293 #9E2255 #9E2D22
triadic
#9E2255 #559E22 #22559E
tetradic
#9E2255 #939E22 #229E6B #2D229E
square
#9E2255 #939E22 #229E6B #2D229E
split-complementary
#9E2255 #229E2D #22939E
monochromatic
#390C1F #6C173A #9E2255 #D02D70 #DC5E92

Accessibility & contrast

On white

7.46
#9E2255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9E2255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2255
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2255#FFFFFF#000000##FFFFFF
##9E22551.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4656
Deuteranopia (green-blind)
#615E52
Tritanopia (blue-blind)
#AC0539
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2255;
/* rgb */ color: rgb(158, 34, 85);
/* oklch */ color: oklch(47.1% 0.163 1.3);
Tailwind
colors: {
  custom: {
    50: '#c06a84',
    500: '#9e2255',
    950: '#000000',
  },
}
SCSS
$custom: #9e2255;
$custom-light: #c06a84;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2255",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 335.323,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4707,
    "c": 0.16338,
    "h": 1.3
  },
  "luminance": 0.09069
}

Semantic roles & 50–950 ramp

primary
#9E2255
secondary
#5BC197
accent
#E8A340
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E2255

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

Preview Lab → · Contrast checker → · Palette generator →

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