#9E2778#9E2778

#9E2778 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.175 H 343.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9E2778
RGBrgb(158, 39, 120)
HSLhsl(319, 60%, 39%)
HSVhsv(319, 75%, 62%)
CMYKcmyk(0%, 75.3%, 24.1%, 38%)
CIE-LABlab(37.98, 55.60, -18.20)
CIE-LCHlch(37.98, 58.50, 341.87°)
OKLaboklab(48.85% 0.1679 -0.0486)
OKLCHoklch(48.85% 0.175 343.8)
XYZxyz(18.2169, 10.0781, 18.7516)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2778 #279E4D
analogous
#88279E #9E2778 #9E273C
triadic
#9E2778 #789E27 #27789E
tetradic
#9E2778 #9E8827 #279E4D #273C9E
square
#9E2778 #9E8827 #279E4D #273C9E
split-complementary
#9E2778 #3C9E27 #279E88
monochromatic
#3C0F2D #6D1B53 #9E2778 #CD359D #D966B4

Accessibility & contrast

On white

6.96
#9E2778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9E2778 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2778
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2778#FFFFFF#000000##FFFFFF
##9E27781.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7A
Deuteranopia (green-blind)
#596175
Tritanopia (blue-blind)
#A8264C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2778;
/* rgb */ color: rgb(158, 39, 120);
/* oklch */ color: oklch(48.9% 0.175 343.8);
Tailwind
colors: {
  custom: {
    50: '#bf6d9f',
    500: '#9e2778',
    950: '#000000',
  },
}
SCSS
$custom: #9e2778;
$custom-light: #bf6d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2778",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 120
  },
  "hsl": {
    "h": 319.16,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48852,
    "c": 0.17476,
    "h": 343.8
  },
  "luminance": 0.10076
}

Semantic roles & 50–950 ramp

primary
#9E2778
secondary
#62BF80
accent
#E47744
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2778

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

Preview Lab → · Contrast checker → · Palette generator →

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