#9E2774#9E2774

#9E2774 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.172 H 345.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9E2774
RGBrgb(158, 39, 116)
HSLhsl(321, 60%, 39%)
HSVhsv(321, 75%, 62%)
CMYKcmyk(0%, 75.3%, 26.6%, 38%)
CIE-LABlab(37.81, 55.07, -15.96)
CIE-LCHlch(37.81, 57.34, 343.84°)
OKLaboklab(48.67% 0.1671 -0.0424)
OKLCHoklch(48.67% 0.172 345.8)
XYZxyz(17.9792, 9.9831, 17.4997)
Luminance0.0998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2774 #279E51
analogous
#8C279E #9E2774 #9E2739
triadic
#9E2774 #749E27 #27749E
tetradic
#9E2774 #9E8C27 #279E51 #27399E
square
#9E2774 #9E8C27 #279E51 #27399E
split-complementary
#9E2774 #399E27 #279E8C
monochromatic
#3C0F2C #6D1B50 #9E2774 #CD3597 #D966B1

Accessibility & contrast

On white

7.01
#9E2774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9E2774 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2774
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2774#FFFFFF#000000##FFFFFF
##9E27741.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374C76
Deuteranopia (green-blind)
#5A6071
Tritanopia (blue-blind)
#A9244A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2774;
/* rgb */ color: rgb(158, 39, 116);
/* oklch */ color: oklch(48.7% 0.172 345.8);
Tailwind
colors: {
  custom: {
    50: '#bf6d9c',
    500: '#9e2774',
    950: '#000000',
  },
}
SCSS
$custom: #9e2774;
$custom-light: #bf6d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2774",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 321.176,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48673,
    "c": 0.17235,
    "h": 345.8
  },
  "luminance": 0.09981
}

Semantic roles & 50–950 ramp

primary
#9E2774
secondary
#62BF83
accent
#E47C44
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9E2774

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

Preview Lab → · Contrast checker → · Palette generator →

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