#9E2F78#9E2F78

#9E2F78 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.165 H 344.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9E2F78
RGBrgb(158, 47, 120)
HSLhsl(321, 54%, 40%)
HSVhsv(321, 70%, 62%)
CMYKcmyk(0%, 70.3%, 24.1%, 38%)
CIE-LABlab(39.00, 52.73, -16.63)
CIE-LCHlch(39.00, 55.29, 342.49°)
OKLaboklab(49.6% 0.159 -0.0443)
OKLCHoklch(49.6% 0.165 344.4)
XYZxyz(18.5079, 10.6601, 18.8486)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F78 #2F9E55
analogous
#8D2F9E #9E2F78 #9E2F40
triadic
#9E2F78 #789E2F #2F789E
tetradic
#9E2F78 #9E8D2F #2F9E55 #2F409E
square
#9E2F78 #9E8D2F #2F9E55 #2F409E
split-complementary
#9E2F78 #409E2F #2F9E8D
monochromatic
#401330 #6F2154 #9E2F78 #C7439A #D572B3

Accessibility & contrast

On white

6.71
#9E2F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9E2F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2F78
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F78#FFFFFF#000000##FFFFFF
##9E2F781.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B507A
Deuteranopia (green-blind)
#5C6375
Tritanopia (blue-blind)
#A82E4F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2f78;
/* rgb */ color: rgb(158, 47, 120);
/* oklch */ color: oklch(49.6% 0.165 344.4);
Tailwind
colors: {
  custom: {
    50: '#be719f',
    500: '#9e2f78',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f78;
$custom-light: #be719f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f78",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 320.541,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49595,
    "c": 0.16509,
    "h": 344.4
  },
  "luminance": 0.10658
}

Semantic roles & 50–950 ramp

primary
#9E2F78
secondary
#6CBD88
accent
#DE7D4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2F78

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

Preview Lab → · Contrast checker → · Palette generator →

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